summaryrefslogtreecommitdiffstats
path: root/cmake/config.cmake.sample
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-07-05 18:41:46 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:47 +0200
commit611213e3740f6184e5ec894a1d537dd61eee69bd (patch)
tree65b794e103f51bcc4fa011d63ec8b3828c0a36bd /cmake/config.cmake.sample
parentf45ab9290b4547c83bff0012fae2ffcd208a0fb5 (diff)
Fix Yocto can't compile project using app-templates
Change-Id: Id5a9c1ffa6f24278f16fceeed0ba7e46ed49b37d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/config.cmake.sample')
-rw-r--r--cmake/config.cmake.sample13
1 files changed, 5 insertions, 8 deletions
diff --git a/cmake/config.cmake.sample b/cmake/config.cmake.sample
index 67c18e1..d290147 100644
--- a/cmake/config.cmake.sample
+++ b/cmake/config.cmake.sample
@@ -66,13 +66,10 @@ set (PKG_REQUIRED_LIST
libmicrohttpd>=0.9.55
)
-# Static constante definition
-# -----------------------------
-add_compile_options()
-
-# LANG Specific compile flags set for all build types
-set(CMAKE_C_FLAGS "")
-set(CMAKE_CXX_FLAGS "")
+# Compilation options definition
+# Use CMake generator expressions to specify only for a specific language
+# -----------------------------------------------------------------------
+#add_compile_options()
# Print a helper message when every thing is finished
# ----------------------------------------------------
@@ -146,4 +143,4 @@ set(WIDGET_ENTRY_POINT EntryPoint_Path_Not_Set)
# 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) \ No newline at end of file
+include(${PROJECT_APP_TEMPLATES_DIR}/cmake/common.cmake)