Add CMake option to enable/disable performance monitoring

This commit is contained in:
2025-01-02 17:10:00 +00:00
parent c1dd9cd33a
commit 3952d93bb0
3 changed files with 20 additions and 6 deletions

View File

@@ -4,6 +4,7 @@ project(epec-mcu-emulator LANGUAGES C)
option(WERROR "Treat warnings as errors" OFF)
option(SANITIZERS "Enable memory and undefined behaviour sanitizers" OFF)
option(PERFMON "Monitor performance of game code" ON)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)