We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4822912 commit 628032bCopy full SHA for 628032b
CMakeLists.txt
@@ -120,6 +120,11 @@ xoption(CONFIG_ASAN "Enable AddressSanitizer (ASan)" OFF)
120
xoption(CONFIG_MSAN "Enable MemorySanitizer (MSan)" OFF)
121
xoption(CONFIG_TSAN "Enable ThreadSanitizer (TSan)" OFF)
122
xoption(CONFIG_UBSAN "Enable UndefinedBehaviorSanitizer (UBSan)" OFF)
123
+if(CMAKE_BUILD_TYPE MATCHES "Debug")
124
+ xoption(ENABLE_DUMPS "Enable Dumps" ON)
125
+else()
126
+ xoption(ENABLE_DUMPS "Enable Dumps" OFF)
127
+endif()
128
129
if(CONFIG_ASAN)
130
message(STATUS "Building with ASan")
0 commit comments