aboutsummaryrefslogtreecommitdiff
path: root/cmake/showoptions.cmake
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2018-02-17 23:29:34 +0100
committerjackpoz <giacomopoz@gmail.com>2018-02-17 23:29:34 +0100
commitdb5c9867e2ffde3657f53bc155b474c5d46884dd (patch)
tree713027f27e45710209e20e0606607ee1e9185840 /cmake/showoptions.cmake
parent572eab1c355d9298ee640ebd7439f55366224fb8 (diff)
Core/Misc: Add PERFORMANCE_PROFILING CMake option
Add a new CMake option called PERFORMANCE_PROFILING that should be used only when profiling the performance. This option is unsupported, do not report any issue happening when enabling this option.
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 0809f5a0cf6..937ed8016c1 100644
--- a/cmake/showoptions.cmake
+++ b/cmake/showoptions.cmake
@@ -105,6 +105,13 @@ if ( HELGRIND )
add_definitions(-DHELGRIND)
endif()
+if ( PERFORMANCE_PROFILING )
+ message("")
+ message(" *** PERFORMANCE_PROFILING - WARNING!")
+ message(" *** Please note that this is for PERFORMANCE PROFILING only! Do NOT report any issue when enabling this configuration!")
+ add_definitions(-DPERFORMANCE_PROFILING)
+endif()
+
if (BUILD_SHARED_LIBS)
message("")
message(" *** WITH_DYNAMIC_LINKING - INFO!")