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.
This commit is contained in:
jackpoz authored and Aokromes committed 2018-02-18 18:36:32 +01:00
1 parent 4a7089b10a
commit bb70a60ba7
4 files changed
+20 -3

No files matched your search

+7
View File
@@ -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!")