add a second tracy target instead of modifying the main target

This commit is contained in:
2026-02-25 15:24:12 +01:00
parent 79f088d10e
commit dc894d1c38
2 changed files with 30 additions and 27 deletions

View File

@ -247,7 +247,7 @@ rec {
echo "Running cmake"
cmake -G "Unix Makefiles" \
-DCMAKE_BUILD_TYPE="${type}" \
-DUSE_TRACY=Off \
-DUSE_TRACY=On \
..
echo "Linking compile_commands.json"
@ -286,7 +286,7 @@ rec {
abbr -a debug "${buildDebug} && ./cmake-build-debug/masssprings"
abbr -a release "${buildRelease} && ./cmake-build-release/masssprings"
abbr -a rungdb "${buildDebug} && gdb --tui ./cmake-build-debug/masssprings"
abbr -a runtracy "tracy -a 127.0.0.1 &; ${buildRelease} && sudo -E ./cmake-build-release/masssprings"
abbr -a runtracy "tracy -a 127.0.0.1 &; ${buildRelease} && sudo -E ./cmake-build-release/masssprings_tracy"
abbr -a runvalgrind "${buildDebug} && valgrind --leak-check=full --show-reachable=no --show-leak-kinds=definite,indirect,possible --track-origins=no --suppressions=valgrind.supp --log-file=valgrind.log ./cmake-build-debug/masssprings && cat valgrind.log"
'';
in