-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
30 lines (24 loc) · 1000 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#===============================================================================
# @brief cmake file
# Copyright (c) CompanyNameMagicTag 2023-2023. All rights reserved.
#===============================================================================
if(DEFINED CONFIG_SAMPLE_SUPPORT_MQTT3_CLIENT_SAMPLE)
add_subdirectory_if_exist(mqtt3_client_demo)
endif()
if(DEFINED CONFIG_SAMPLE_SUPPORT_HTTP_SERVER_SAMPLE)
add_subdirectory_if_exist(http_server_demo)
endif()
if(DEFINED CONFIG_SAMPLE_SUPPORT_HTTP_CLIENT_SAMPLE)
add_subdirectory_if_exist(http_client_demo)
endif()
if(DEFINED CONFIG_SAMPLE_SUPPORT_FIX_STA_SAMPLE)
add_subdirectory_if_exist(fix_sta_sample)
endif()
if(DEFINED CONFIG_SAMPLE_SUPPORT_MQTT5_CLIENT_SAMPLE)
add_subdirectory_if_exist(mqtt5_client_demo)
endif()
if(DEFINED CONFIG_SAMPLE_SUPPORT_SNTP_CLIENT_SAMPLE)
add_subdirectory_if_exist(sntp_client_demo)
endif()
set(SOURCES "${SOURCES}" PARENT_SCOPE)
set(PUBLIC_HEADER "${PUBLIC_HEADER}" PARENT_SCOPE)