MCUXpresso_LPC55S69/rtos/freertos/middleware_freertos-aws_iot_libraries_abstractions_transport_LPC55S69_cm33_core0.cmake
2022-04-08 22:42:47 +08:00

32 lines
1.5 KiB
CMake

include_guard(GLOBAL)
message("middleware_freertos-aws_iot_libraries_abstractions_transport component is included.")
target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/libraries/abstractions/transport/secure_sockets/transport_secure_sockets.c
)
target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/libraries/abstractions/transport/secure_sockets
)
#OR Logic component
if(CONFIG_USE_middleware_freertos-aws_iot_libraries_coremqtt_LPC55S69_cm33_core0)
include(middleware_freertos-aws_iot_libraries_coremqtt_LPC55S69_cm33_core0)
endif()
if(CONFIG_USE_middleware_freertos-aws_iot_libraries_corehttp_LPC55S69_cm33_core0)
include(middleware_freertos-aws_iot_libraries_corehttp_LPC55S69_cm33_core0)
endif()
if(NOT (CONFIG_USE_middleware_freertos-aws_iot_libraries_coremqtt_LPC55S69_cm33_core0 OR CONFIG_USE_middleware_freertos-aws_iot_libraries_corehttp_LPC55S69_cm33_core0))
message(WARNING "Since middleware_freertos-aws_iot_libraries_coremqtt_LPC55S69_cm33_core0/middleware_freertos-aws_iot_libraries_corehttp_LPC55S69_cm33_core0 is not included at first or config in config.cmake file, use middleware_freertos-aws_iot_libraries_coremqtt_LPC55S69_cm33_core0 by default.")
include(middleware_freertos-aws_iot_libraries_coremqtt_LPC55S69_cm33_core0)
endif()
include(middleware_freertos-kernel_LPC55S69_cm33_core0)
include(middleware_freertos-aws_iot_libraries_abstractions_secure_sockets_LPC55S69_cm33_core0)
include(middleware_freertos-aws_iot_libraries_logging_LPC55S69_cm33_core0)