mirror of
https://github.com/FreeRTOS/coreMQTT
synced 2025-05-18 00:02:25 +08:00

* Relocate CBMC to test/cbmc and unit test files to test/unit-test * Rename all library and test files to use "core_" prefix
25 lines
843 B
CMake
25 lines
843 B
CMake
# This file is to add source files and include directories
|
|
# into variables so that it can be reused from different repositories
|
|
# in their Cmake based build system by including this file.
|
|
#
|
|
# Files specific to the repository such as test runner, platform tests
|
|
# are not added to the variables.
|
|
|
|
# MQTT library source files.
|
|
set( MQTT_SOURCES
|
|
"${MODULE_ROOT_DIR}/source/core_mqtt.c"
|
|
"${MODULE_ROOT_DIR}/source/core_mqtt_state.c" )
|
|
|
|
# Lightweight MQTT library source files.
|
|
set( LIGHTWEIGHT_MQTT_SOURCES
|
|
"${MODULE_ROOT_DIR}/source/core_mqtt_lightweight.c" )
|
|
|
|
# MQTT library Public Include directories.
|
|
set( MQTT_INCLUDE_PUBLIC_DIRS
|
|
"${MODULE_ROOT_DIR}/source/include"
|
|
"${MODULE_ROOT_DIR}/source/portable" )
|
|
|
|
# MQTT library Private Include directories.
|
|
set( MQTT_INCLUDE_PRIVATE_DIRS
|
|
"${MODULE_ROOT_DIR}/source" )
|