2021-01-22 16:31:40 +08:00
|
|
|
link_libraries(iot_sdk iot_platform)
|
|
|
|
|
|
|
|
if (ENABLE_FEATURE_MQTT_COMM)
|
|
|
|
add_executable(mqtt_sample mqtt/mqtt_sample.c)
|
|
|
|
add_dependencies(mqtt_sample iot_sdk iot_platform)
|
|
|
|
endif ()
|
|
|
|
|
2021-05-17 13:20:56 +08:00
|
|
|
if (ENABLE_FEATURE_OTA)
|
|
|
|
add_executable(ota_sample ota/ota_sample.c)
|
|
|
|
add_dependencies(ota_sample iot_sdk iot_platform)
|
|
|
|
endif ()
|
2021-01-22 16:31:40 +08:00
|
|
|
if (ENABLE_FEATURE_AUTH_MODE_DYNAMIC)
|
|
|
|
add_executable(dynamic_auth_sample dynamic_auth/dynamic_auth_sample.c)
|
|
|
|
add_dependencies(dynamic_auth_sample iot_sdk iot_platform)
|
|
|
|
endif ()
|
2021-05-17 13:20:56 +08:00
|
|
|
|
|
|
|
if (ENABLE_FEATURE_OTA)
|
|
|
|
add_executable(ota_sample ota/ota_sample.c)
|
|
|
|
add_dependencies(ota_sample iot_sdk iot_platform)
|
|
|
|
endif ()
|