diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-07-06 16:10:33 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:48 +0200 |
commit | 9a514cd17b61d1e487cd9f9d709d7f7237d50c4a (patch) | |
tree | 881bbdcfedea4aae9cf01281e01bd30113248fd1 /samples.d | |
parent | a5341a80e29dcd26881a411bb635a97b8cf86433 (diff) |
Be able to overwrite BUILD_TYPE using CLI
If not defined using CLI CMake set the variable CMAKE_BUILD_TYPE
to an empty value. As it is a CACHE variable it can't be
overwritten except if you force it. This fix setting this variable
the first defined value wins:
CLI > Config.cmake > Default value (DEBUG)
Change-Id: I7ff3c9063febf71b898fa7f19058ce2fb25fae01
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'samples.d')
-rw-r--r-- | samples.d/config.cmake.sample | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples.d/config.cmake.sample b/samples.d/config.cmake.sample index d7268cd..70715fc 100644 --- a/samples.d/config.cmake.sample +++ b/samples.d/config.cmake.sample @@ -41,7 +41,7 @@ set(PROJECT_APP_TEMPLATES_DIR "conf.d/app-templates") # Compilation Mode (DEBUG, RELEASE) # ---------------------------------- -#set(CMAKE_BUILD_TYPE "DEBUG") +#set(BUILD_TYPE "DEBUG") #set(USE_EFENCE 1) # Kernel selection if needed. You can choose between a |