Add CMake option to enable/disable performance monitoring
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
add_library(engine engine.c)
|
||||
set_default_target_options(engine)
|
||||
target_include_directories(engine PUBLIC include)
|
||||
if(${PERFMON})
|
||||
target_compile_definitions(engine PRIVATE PERFMON)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user