Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-06-28 11:48:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-28 11:48:06 +0300
commit274bde23fb57c014af727fb787c6e8a3342f6240 (patch)
treed90fea128eab53f01368fac7516c9c06d678cc8e
parentd5a8c0c4144ac70d97aec77669178fc51da02c4c (diff)
CMake: enable WITH_ASSERT_ABORT by default
Assert from BLI_assert by default in debug builds (instead of just printing a warning). Some developers ignored this, causing errors for others. Better debug builds cause hard error so code isn't ignored. Disabling is still useful when bisecting or testing outdated code.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d1b35b1c562..46d91286467 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -444,7 +444,7 @@ mark_as_advanced(WITH_MEM_VALGRIND)
option(WITH_CXX_GUARDEDALLOC "Enable GuardedAlloc for C++ memory allocation tracking (only enable for development)" OFF)
mark_as_advanced(WITH_CXX_GUARDEDALLOC)
-option(WITH_ASSERT_ABORT "Call abort() when raising an assertion through BLI_assert()" OFF)
+option(WITH_ASSERT_ABORT "Call abort() when raising an assertion through BLI_assert()" ON)
mark_as_advanced(WITH_ASSERT_ABORT)
option(WITH_BOOST "Enable features depending on boost" ON)