enalbe nuget testing for E2E Twin and Methods
This commit is contained in:
Родитель
d16400a1a6
Коммит
586f7c7e05
|
@ -3,6 +3,8 @@
|
|||
|
||||
/* This file contains certs needed to communicate with Azure (IoT) */
|
||||
|
||||
#include "certs.h"
|
||||
|
||||
const char certificates[] =
|
||||
/* Baltimore */
|
||||
"-----BEGIN CERTIFICATE-----\r\n"
|
||||
|
|
|
@ -65,6 +65,14 @@ if(WIN32)
|
|||
linkMqttLibrary(${theseTestsName}_exe)
|
||||
endif()
|
||||
|
||||
if(TARGET ${theseTestsName}_nuget_exe)
|
||||
target_link_libraries(${theseTestsName}_nuget_exe
|
||||
iothub_test
|
||||
iothub_service_client
|
||||
rpcrt4
|
||||
)
|
||||
endif()
|
||||
|
||||
else()
|
||||
if(TARGET ${theseTestsName}_exe)
|
||||
target_link_libraries(${theseTestsName}_exe
|
||||
|
|
|
@ -25,6 +25,10 @@ set(${theseTestsName}_nuget_cpp_files
|
|||
../common_dt_e2e/iothubclient_common_dt_e2e.cpp
|
||||
)
|
||||
|
||||
set(${theseTestsName}_nuget_c_files
|
||||
../../../certs/certs.c
|
||||
)
|
||||
|
||||
set(${theseTestsName}_c_files
|
||||
../../../certs/certs.c
|
||||
../../../parson/parson.c
|
||||
|
@ -76,6 +80,14 @@ if(WIN32)
|
|||
)
|
||||
linkMqttLibrary(${theseTestsName}_exe)
|
||||
endif()
|
||||
|
||||
if(TARGET ${theseTestsName}_nuget_exe)
|
||||
target_link_libraries(${theseTestsName}_nuget_exe
|
||||
iothub_test
|
||||
iothub_service_client
|
||||
rpcrt4
|
||||
)
|
||||
endif()
|
||||
else()
|
||||
if(TARGET ${theseTestsName}_exe)
|
||||
target_link_libraries(${theseTestsName}_exe
|
||||
|
|
Загрузка…
Ссылка в новой задаче