File tree Expand file tree Collapse file tree 8 files changed +12
-3
lines changed
defender/defender_demo_json
fleet_provisioning/fleet_provisioning_with_csr
http/http_demo_mutual_auth
mqtt/mqtt_demo_mutual_auth Expand file tree Collapse file tree 8 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 99 set ( PLATFORM_NAME ${PLATFORM_NAME} CACHE STRING "Port to use for building the SDK." )
1010endif ()
1111
12+ set (AWS_DEMO_INCLUDE_DIRS ${CMAKE_CURRENT_LIST_DIR} /include )
13+
1214# Include each subdirectory that has a CMakeLists.txt file in it
1315file (GLOB demo_dirs "${DEMOS_DIR} /*/*" )
1416foreach (demo_dir IN LISTS demo_dirs)
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ target_include_directories( ${DEMO_NAME} PUBLIC
3434 ${BACKOFF_ALGORITHM_INCLUDE_PUBLIC_DIRS}
3535 ${JSON_INCLUDE_PUBLIC_DIRS}
3636 ${DEFENDER_INCLUDE_PUBLIC_DIRS}
37+ ${AWS_DEMO_INCLUDE_DIRS}
3738 ${CMAKE_CURRENT_LIST_DIR} )
3839
3940set_macro_definitions(TARGETS ${DEMO_NAME}
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ target_include_directories( ${DEMO_NAME}
4747 ${BACKOFF_ALGORITHM_INCLUDE_PUBLIC_DIRS}
4848 ${PKCS_INCLUDE_PUBLIC_DIRS}
4949 ${PKCS_PAL_INCLUDE_PUBLIC_DIRS}
50+ ${AWS_DEMO_INCLUDE_DIRS}
5051 "${FLEET_PROVISIONING_INCLUDE_PUBLIC_DIRS} "
5152 "${DEMOS_DIR} /pkcs11/common/include" # corePKCS11 config
5253 "${CMAKE_SOURCE_DIR} /platform/include"
Original file line number Diff line number Diff line change @@ -40,8 +40,9 @@ target_include_directories(
4040 "${DEMOS_DIR} /http/common/include"
4141 ${HTTP_INCLUDE_PUBLIC_DIRS}
4242 ${BACKOFF_ALGORITHM_INCLUDE_PUBLIC_DIRS}
43- ${CMAKE_CURRENT_LIST_DIR}
4443 ${LOGGING_INCLUDE_DIRS}
44+ ${AWS_DEMO_INCLUDE_DIRS}
45+ ${CMAKE_CURRENT_LIST_DIR}
4546)
4647
4748set_macro_definitions(TARGETS ${DEMO_NAME}
Original file line number Diff line number Diff line change @@ -30,8 +30,9 @@ target_include_directories(
3030 PUBLIC
3131 ${MQTT_INCLUDE_PUBLIC_DIRS}
3232 ${BACKOFF_ALGORITHM_INCLUDE_PUBLIC_DIRS}
33- ${CMAKE_CURRENT_LIST_DIR}
3433 ${LOGGING_INCLUDE_DIRS}
34+ ${AWS_DEMO_INCLUDE_DIRS}
35+ ${CMAKE_CURRENT_LIST_DIR}
3536)
3637
3738set_macro_definitions(TARGETS ${DEMO_NAME}
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ target_include_directories(
5656 ${OTA_INCLUDE_OS_POSIX_DIRS}
5757 ${MQTT_INCLUDE_PUBLIC_DIRS}
5858 ${HTTP_INCLUDE_PUBLIC_DIRS}
59+ ${AWS_DEMO_INCLUDE_DIRS}
5960)
6061
6162set_macro_definitions(TARGETS ${DEMO_NAME}
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ target_include_directories(
4343 ${OTA_INCLUDE_PRIVATE_DIRS}
4444 ${OTA_INCLUDE_OS_POSIX_DIRS}
4545 ${MQTT_INCLUDE_PUBLIC_DIRS}
46+ ${AWS_DEMO_INCLUDE_DIRS}
4647)
4748
4849set_macro_definitions(TARGETS ${DEMO_NAME}
Original file line number Diff line number Diff line change @@ -40,8 +40,9 @@ target_include_directories(
4040 ${MQTT_INCLUDE_PUBLIC_DIRS}
4141 ${BACKOFF_ALGORITHM_INCLUDE_PUBLIC_DIRS}
4242 ${SHADOW_INCLUDE_PUBLIC_DIRS}
43- ${CMAKE_CURRENT_LIST_DIR}
4443 ${JSON_INCLUDE_PUBLIC_DIRS}
44+ ${AWS_DEMO_INCLUDE_DIRS}
45+ ${CMAKE_CURRENT_LIST_DIR}
4546)
4647
4748set_macro_definitions(TARGETS ${DEMO_NAME}
You can’t perform that action at this time.
0 commit comments