From db5c9867e2ffde3657f53bc155b474c5d46884dd Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sat, 17 Feb 2018 23:29:34 +0100 Subject: 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. --- cmake/showoptions.cmake | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cmake/showoptions.cmake') 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!") -- cgit v1.2.3