aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/config.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/config.cmake')
-rw-r--r--conf.d/config.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/conf.d/config.cmake b/conf.d/config.cmake
index 0e92972..b2e7b91 100644
--- a/conf.d/config.cmake
+++ b/conf.d/config.cmake
@@ -44,10 +44,19 @@ 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")
+# Kernel selection if needed. Impose a minimal version.
+# NOTE FOR NOW IT CHECKS KERNEL Yocto SDK Kernel version
+# else only HOST VERSION
+# -----------------------------------------------
+#set (kernel_minimal_version 4.8)
+
# Compiler selection if needed. Impose a minimal version.
# -----------------------------------------------
set (gcc_minimal_version 4.9)
@@ -136,3 +145,8 @@ set(WIDGET_ENTRY_POINT "lib/afb-high-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)