summaryrefslogtreecommitdiffstats
path: root/conf.d/cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-27 19:00:16 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-06-27 19:00:16 +0200
commita5e1ff11702b7ff077ee02714338fa5958ea0aeb (patch)
tree5c33a53e81b9e843e0d460e00ad0f3d0a4ca4374 /conf.d/cmake
parenta898ea495bbb60dd0b7b8a764d54cdded1b7696d (diff)
Update to the latest app-templates version
No more needs to call any macro and only include config.cmake file is mandatory. Common.cmake is include from config.cmake file Generation autobuild script in conf.d/autobuild dir Change-Id: I71a18a91755d76912fd8ff93c66bab231d4db301 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/cmake')
-rw-r--r--conf.d/cmake/config.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index 48543bee..a4217b94 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -40,6 +40,9 @@ set(PROJECT_APP_TEMPLATES_DIR "conf.d/app-templates")
# Where are stored data for your application. Pictures, static resources must be placed in that folder.
# set(PROJECT_RESOURCES "data")
+# Which directories inspect to find CMakeLists.txt target files
+# set(PROJECT_SRC_DIR_PATTERN "*")
+
# Compilation Mode (DEBUG, RELEASE)
# ----------------------------------
set(CMAKE_BUILD_TYPE "DEBUG")
@@ -134,3 +137,8 @@ set(WIDGET_ENTRY_POINT lib/afb-low-can.so)
#------------------------------------------------------------
#set(AFB_TOKEN "" CACHE PATH "Default AFB_TOKEN")
#set(AFB_REMPORT "1234" CACHE PATH "Default AFB_TOKEN")
+
+# This include is mandatory and MUST happens at the end
+# of this file, else you expose you to unexpected behavior
+# -----------------------------------------------------------
+include(${PROJECT_APP_TEMPLATES_DIR}/cmake/common.cmake)