Commit 035b22e2 authored by Dominik Charousset's avatar Dominik Charousset

Adjust default flags for --dev-mode

Disable shared libs for developer builds to silence false positives of
the `undefined` sanitizer.
parent b3a37559
...@@ -44,6 +44,7 @@ Convenience options: ...@@ -44,6 +44,7 @@ Convenience options:
--sanitizers=address,undefined --sanitizers=address,undefined
--disable-examples --disable-examples
--disable-tools --disable-tools
--disable-shared-libs
--enable-utility-targets --enable-utility-targets
--enable-runtime-checks --enable-runtime-checks
...@@ -163,14 +164,14 @@ while [ $# -ne 0 ]; do ...@@ -163,14 +164,14 @@ while [ $# -ne 0 ]; do
append_cache_entry CAF_SANITIZERS STRING "$optarg" append_cache_entry CAF_SANITIZERS STRING "$optarg"
;; ;;
--dev-mode) --dev-mode)
append_cache_entry CAF_LOG_LEVEL STRING "$optarg"
append_cache_entry CMAKE_BUILD_TYPE STRING 'Debug'
append_cache_entry CAF_LOG_LEVEL STRING 'TRACE' append_cache_entry CAF_LOG_LEVEL STRING 'TRACE'
append_cache_entry CAF_SANITIZERS STRING 'address,undefined' append_cache_entry CAF_SANITIZERS STRING 'address,undefined'
append_cache_entry CMAKE_BUILD_TYPE STRING 'Debug'
set_build_flag examples OFF set_build_flag examples OFF
set_build_flag shared-libs OFF
set_build_flag tools OFF set_build_flag tools OFF
set_build_flag utility-targets ON
set_build_flag runtime-checks ON set_build_flag runtime-checks ON
set_build_flag utility-targets ON
;; ;;
--enable-*) --enable-*)
set_build_flag $optarg ON set_build_flag $optarg 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