Support vcpkg for generated project (#757)

* Update CmakeLists.txt to support vcpkg of azure_iot_sdks

* Update CmakeLists.txt to support vcpkg of azure_iot_sdks

* add rc2 tag
This commit is contained in:
Dooriya Li 2019-09-25 15:17:58 +08:00 коммит произвёл GitHub
Родитель 798b111ce3
Коммит c009a586f0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 30 добавлений и 4 удалений

2
package-lock.json сгенерированный
Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "vscode-iot-workbench",
"version": "0.10.15-rc",
"version": "0.10.15-rc2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

Просмотреть файл

@ -10,7 +10,7 @@
"url": "https://github.com/Microsoft/vscode-iot-workbench/issues"
},
"homepage": "https://github.com/Microsoft/vscode-iot-workbench/blob/master/README.md",
"version": "0.10.15-rc",
"version": "0.10.15-rc2",
"publisher": "vsciot-vscode",
"icon": "logo.png",
"license": "SEE LICENSE IN <LICENSE>",

Просмотреть файл

@ -18,6 +18,9 @@ endif()
cmake_minimum_required(VERSION 2.8)
# Uncomment the following line if you want to build with vcpkg of azure_iot_sdks
# find_package(azure_iot_sdks REQUIRED)
set({PROJECT_NAME}_h_files
{H_FILE_LIST}
)
@ -36,4 +39,13 @@ include_directories(${DIGITALTWIN_CLIENT_INC_FOLDER})
add_executable({PROJECT_NAME} ${{PROJECT_NAME}_c_files} ${{PROJECT_NAME}_h_files})
target_link_libraries({PROJECT_NAME} parson iothub_client_mqtt_transport iothub_client digitaltwin_client)
target_link_libraries({PROJECT_NAME}
parson
iothub_client_mqtt_transport
iothub_client_mqtt_ws_transport
iothub_client
digitaltwin_client
prov_auth_client
aziotsharedutil
umqtt
uuid)

Просмотреть файл

@ -18,6 +18,9 @@ endif()
cmake_minimum_required(VERSION 2.8)
# Uncomment the following line if you want to build with vcpkg of azure_iot_sdks
# find_package(azure_iot_sdks REQUIRED)
set({PROJECT_NAME}_h_files
{H_FILE_LIST}
)
@ -37,4 +40,15 @@ include_directories(${DEV_AUTH_MODULES_CLIENT_INC_FOLDER})
add_executable({PROJECT_NAME} ${{PROJECT_NAME}_c_files} ${{PROJECT_NAME}_h_files})
target_link_libraries({PROJECT_NAME} parson iothub_client_mqtt_transport iothub_client digitaltwin_client prov_device_ll_client prov_mqtt_transport)
target_link_libraries({PROJECT_NAME}
parson
iothub_client_mqtt_transport
iothub_client_mqtt_ws_transport
prov_device_ll_client
prov_mqtt_transport
iothub_client
digitaltwin_client
prov_auth_client
aziotsharedutil
umqtt
uuid)