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:
Bartosz Taudul
2026-04-10 18:47:05 +02:00
parent 82560c8c0e
commit f71c74aaf7
6 changed files with 9 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ jobs:
cmake -B merge/build -S merge -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }}
cmake --build merge/build --parallel --config Release
- name: Build library
run: meson setup -Dprefix=$GITHUB_WORKSPACE/bin/lib build && meson compile -C build && meson install -C build
run: meson setup -Dprefix=$GITHUB_WORKSPACE/bin/lib -Dtracy_enable=true build && meson compile -C build && meson install -C build
- name: Package artifacts
run: |
mkdir -p bin