mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-24 17:50:51 +00:00
Change TRACY_ENABLE default to OFF to match documentation.
The documentation states that Tracy is disabled by default, but the build system defaults were ON/true. Change CMake and Meson defaults to OFF/false. Projects that need profiling enabled must now opt in explicitly. Add explicit TRACY_ENABLE=ON / tracy_enable=true to CI steps and the test project to preserve existing behavior.
This commit is contained in:
@@ -13,6 +13,8 @@ project(
|
||||
file(GENERATE OUTPUT .gitignore CONTENT "*")
|
||||
set(CMAKE_COLOR_DIAGNOSTICS ON)
|
||||
|
||||
option(TRACY_ENABLE "Enable profiling" ON)
|
||||
|
||||
# a bit weird but works: include the client cmake config coming from top-level
|
||||
# cmake needs us to specify the build subfolder -> client/ this way we can
|
||||
# simply link the test executable against TracyClient
|
||||
|
||||
Reference in New Issue
Block a user