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.
Diff: mbed-cloud-client/factory-configurator-client/CMakeLists.txt
- Revision:
- 0:276e7a263c35
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-cloud-client/factory-configurator-client/CMakeLists.txt Mon Jul 02 06:30:39 2018 +0000
@@ -0,0 +1,40 @@
+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()