aboutsummaryrefslogtreecommitdiff
path: root/cmake/showoptions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/showoptions.cmake')
-rw-r--r--cmake/showoptions.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/showoptions.cmake b/cmake/showoptions.cmake
index 6094198e76a..d53792ef484 100644
--- a/cmake/showoptions.cmake
+++ b/cmake/showoptions.cmake
@@ -105,6 +105,13 @@ if ( HELGRIND )
add_definitions(-DHELGRIND)
endif()
+if ( ASAN )
+ message("")
+ message(" *** ASAN - WARNING!")
+ message(" *** Please note that this is for DEBUGGING WITH ADDRESS SANITIZER only!")
+ add_definitions(-DASAN)
+endif()
+
if ( PERFORMANCE_PROFILING )
message("")
message(" *** PERFORMANCE_PROFILING - WARNING!")