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@2:bf2124b482f9, 2018-07-02 (annotated)
- Committer:
- MACRUM
- Date:
- Mon Jul 02 08:06:37 2018 +0000
- Revision:
- 2:bf2124b482f9
- Parent:
- 0:276e7a263c35
Update library
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| MACRUM | 0:276e7a263c35 | 1 | cmake_minimum_required(VERSION 2.6) |
| MACRUM | 0:276e7a263c35 | 2 | project("fcc") |
| MACRUM | 0:276e7a263c35 | 3 | |
| MACRUM | 0:276e7a263c35 | 4 | include(common_includes.cmake) |
| MACRUM | 0:276e7a263c35 | 5 | |
| MACRUM | 0:276e7a263c35 | 6 | # esfs |
| MACRUM | 0:276e7a263c35 | 7 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}/mbed-client-esfs/source-pal/api) |
| MACRUM | 0:276e7a263c35 | 8 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}/mbed-client-esfs/source-pal/linux) |
| MACRUM | 0:276e7a263c35 | 9 | |
| MACRUM | 0:276e7a263c35 | 10 | # mbed-tace |
| MACRUM | 0:276e7a263c35 | 11 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}/mbed-trace) |
| MACRUM | 0:276e7a263c35 | 12 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}/mbed-trace/mbed-trace) |
| MACRUM | 0:276e7a263c35 | 13 | |
| MACRUM | 0:276e7a263c35 | 14 | # nanostack |
| MACRUM | 0:276e7a263c35 | 15 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}/nanostack-libservice) |
| MACRUM | 0:276e7a263c35 | 16 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}/nanostack-libservice/mbed-client-libservice) |
| MACRUM | 0:276e7a263c35 | 17 | |
| MACRUM | 0:276e7a263c35 | 18 | SET(SOURCE_LIST "") |
| MACRUM | 0:276e7a263c35 | 19 | |
| MACRUM | 0:276e7a263c35 | 20 | FOREACH(module ${MODULES}) |
| MACRUM | 0:276e7a263c35 | 21 | # sources |
| MACRUM | 0:276e7a263c35 | 22 | LIST(APPEND SOURCE_LIST "${CMAKE_CURRENT_SOURCE_DIR}/${module}/${module}/*.h") |
| MACRUM | 0:276e7a263c35 | 23 | LIST(APPEND SOURCE_LIST "${CMAKE_CURRENT_SOURCE_DIR}/${module}/source/*.c") |
| MACRUM | 0:276e7a263c35 | 24 | LIST(APPEND SOURCE_LIST "${CMAKE_CURRENT_SOURCE_DIR}/${module}/source/*.cpp") |
| MACRUM | 0:276e7a263c35 | 25 | ENDFOREACH() |
| MACRUM | 0:276e7a263c35 | 26 | |
| MACRUM | 0:276e7a263c35 | 27 | # sotp |
| MACRUM | 0:276e7a263c35 | 28 | LIST(APPEND SOURCE_LIST "${CMAKE_CURRENT_SOURCE_DIR}/${module}/source/sotp/*.h") |
| MACRUM | 0:276e7a263c35 | 29 | LIST(APPEND SOURCE_LIST "${CMAKE_CURRENT_SOURCE_DIR}/${module}/source/sotp/*.c") |
| MACRUM | 0:276e7a263c35 | 30 | LIST(APPEND SOURCE_LIST "${CMAKE_CURRENT_SOURCE_DIR}/${module}/source/sotp/*.cpp") |
| MACRUM | 0:276e7a263c35 | 31 | |
| MACRUM | 0:276e7a263c35 | 32 | FILE(GLOB factory-configurator-client ${SOURCE_LIST}) |
| MACRUM | 0:276e7a263c35 | 33 | |
| MACRUM | 0:276e7a263c35 | 34 | message("*********************************************************************") |
| MACRUM | 0:276e7a263c35 | 35 | message("factory-configurator-client = [[${factory-configurator-client}]]") |
| MACRUM | 0:276e7a263c35 | 36 | message("*********************************************************************") |
| MACRUM | 0:276e7a263c35 | 37 | |
| MACRUM | 0:276e7a263c35 | 38 | CREATE_LIBRARY(factory-configurator-client "${factory-configurator-client}" "") |
| MACRUM | 0:276e7a263c35 | 39 | |
| MACRUM | 0:276e7a263c35 | 40 | ADDSUBDIRS() |