summaryrefslogtreecommitdiffstats
path: root/cmake/cmake.d
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-07-06 19:06:15 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-07-06 19:06:15 +0200
commite2fefbf8af58f6a465778cb73dfd8910f693ee8d (patch)
treecca1e34b56428c88c0bb3bb8ab0f3b0e9c31b43a /cmake/cmake.d
parent6be72c1389f3aba83d42b46ffef223a51eb8b495 (diff)
Add some reminder
Change-Id: I218b746a622cc0705be631292fc9e0c6154538eb Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/cmake.d')
-rw-r--r--cmake/cmake.d/04-build_options.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/cmake.d/04-build_options.cmake b/cmake/cmake.d/04-build_options.cmake
index 266c4c1..c48e8cd 100644
--- a/cmake/cmake.d/04-build_options.cmake
+++ b/cmake/cmake.d/04-build_options.cmake
@@ -72,6 +72,7 @@ add_compile_options(-Werror=implicit-function-declaration)
add_compile_options(-ffunction-sections -fdata-sections)
add_compile_options(-fPIC)
+# TODO: make more visible readable compile (macro ? split ?)
# Compilation option depending on CMAKE_BUILD_TYPE
##################################################
add_compile_options($<$<OR:$<CONFIG:DEBUG>,$<CONFIG:PROFILING>,$<CONFIG:CCOV>>:-g>)