forked from espressif/esp-ali-smartliving
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
24 lines (18 loc) · 801 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
set(lib_path ${CMAKE_CURRENT_SOURCE_DIR}/ali-smartliving-device-sdk-c/output/release/lib)
set(COMPONENT_PRIV_INCLUDEDIRS
ali-smartliving-device-sdk-c/output/release/include/imports)
set(COMPONENT_ADD_INCLUDEDIRS
conn_mgr
ali-smartliving-device-sdk-c/output/release/include
ali-smartliving-device-sdk-c/output/release/include/exports)
# Edit following two lines to set component requirements (see docs)
set(COMPONENT_REQUIRES "nvs_flash" "app_update" "esp-tls")
set(COMPONENT_PRIV_REQUIRES )
set(COMPONENT_SRCDIRS
conn_mgr
wrappers)
register_component()
component_compile_options(-DAUTH_MODE_CERT)
target_link_libraries(${COMPONENT_TARGET} "-L ${lib_path}")
target_link_libraries(${COMPONENT_TARGET} iot_sdk)
target_link_libraries(${COMPONENT_TARGET} -u ota_pubn_buf)