We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d777bc0 commit 1fe4db9Copy full SHA for 1fe4db9
google_benchmark/cmake/Codspeed.cmake
@@ -25,6 +25,7 @@ if(DEFINED CODSPEED_MODE)
25
FATAL_ERROR
26
"Invalid build mode: ${CODSPEED_MODE}. Use 'instrumentation' or 'walltime'."
27
)
28
-if(CODSPEED_MODE STREQUAL "instrumentation")
29
- target_compile_definitions(codspeed INTERFACE -DCODSPEED_INSTRUMENTATION)
30
-elseif(CODSPEED_MODE STREQUAL "walltime")
+ endif()
+endif()
+
31
+message(STATUS "Build mode set to: ${CODSPEED_MODE}")
0 commit comments