mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-08 08:33:48 +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:
@@ -124,7 +124,7 @@ macro(tracy_set_option_value var help default)
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
tracy_set_option(TRACY_ENABLE "Enable profiling" ON)
|
||||
tracy_set_option(TRACY_ENABLE "Enable profiling" OFF)
|
||||
tracy_set_option(TRACY_ON_DEMAND "On-demand profiling" OFF)
|
||||
tracy_set_option_value(TRACY_CALLSTACK "Override the callstack collection depth for tracy zones" "")
|
||||
tracy_set_option(TRACY_NO_CALLSTACK "Disable all callstack related functionality" OFF)
|
||||
|
||||
Reference in New Issue
Block a user