Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
mbed-cloud-client/factory-configurator-client/CMakeLists.txt
- Committer:
- MACRUM
- Date:
- 2018-07-02
- Revision:
- 2:bf2124b482f9
- Parent:
- 0:276e7a263c35
File content as of revision 2:bf2124b482f9:
cmake_minimum_required(VERSION 2.6)
project("fcc")
include(common_includes.cmake)
# esfs
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/mbed-client-esfs/source-pal/api)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/mbed-client-esfs/source-pal/linux)
# mbed-tace
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/mbed-trace)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/mbed-trace/mbed-trace)
# nanostack
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/nanostack-libservice)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/nanostack-libservice/mbed-client-libservice)
SET(SOURCE_LIST "")
FOREACH(module ${MODULES})
# sources
LIST(APPEND SOURCE_LIST "${CMAKE_CURRENT_SOURCE_DIR}/${module}/${module}/*.h")
LIST(APPEND SOURCE_LIST "${CMAKE_CURRENT_SOURCE_DIR}/${module}/source/*.c")
LIST(APPEND SOURCE_LIST "${CMAKE_CURRENT_SOURCE_DIR}/${module}/source/*.cpp")
ENDFOREACH()
# sotp
LIST(APPEND SOURCE_LIST "${CMAKE_CURRENT_SOURCE_DIR}/${module}/source/sotp/*.h")
LIST(APPEND SOURCE_LIST "${CMAKE_CURRENT_SOURCE_DIR}/${module}/source/sotp/*.c")
LIST(APPEND SOURCE_LIST "${CMAKE_CURRENT_SOURCE_DIR}/${module}/source/sotp/*.cpp")
FILE(GLOB factory-configurator-client ${SOURCE_LIST})
message("*********************************************************************")
message("factory-configurator-client = [[${factory-configurator-client}]]")
message("*********************************************************************")
CREATE_LIBRARY(factory-configurator-client "${factory-configurator-client}" "")
ADDSUBDIRS()