Unverified Commit f334ec4b authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #90

Fix build type propagation
parents e106fe3a 0df6a47f
......@@ -129,7 +129,7 @@ while [ $# -ne 0 ]; do
CMakeGenerator="$optarg"
;;
--build-type=*)
CMakeBuildType="$optarg"
append_cache_entry CMAKE_BUILD_TYPE STRING "$optarg"
;;
--cxx-flags=*)
append_cache_entry CMAKE_CXX_FLAGS STRING "$optarg"
......@@ -141,7 +141,7 @@ while [ $# -ne 0 ]; do
append_cache_entry CAF_INC_SANITIZERS STRING "$optarg"
;;
--dev-mode)
CMakeBuildType='Debug'
append_cache_entry CMAKE_BUILD_TYPE STRING 'Debug'
append_cache_entry CAF_INC_SANITIZERS STRING 'address,undefined'
set_build_flag utility-targets ON
set_build_flag export-compile-commands ON
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment