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 07c78a06b6e..c4e7ebff950 100644
--- a/cmake/showoptions.cmake
+++ b/cmake/showoptions.cmake
@@ -104,6 +104,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!")