Clarify the Tracy library integration step.

This commit is contained in:
Bartosz Taudul
2026-10-06 01:41:49 +02:00
parent 58852328f7
commit 06df3c85d1

View File

@@ -3,7 +3,7 @@
Let's start our adventure by instrumenting your application and connecting it to the profiler. Here's a quick refresher:
1. Integrate Tracy Profiler into your application. This can be done using CMake, Meson, or simply by adding the source files to your project.
2. Make sure that `TracyClient.cpp` (or the Tracy library) is included in your build.
2. Make sure that `TracyClient.cpp` is added to your build, or that the Tracy library is linked.
3. Define `TRACY_ENABLE` in your build configuration, for the whole application. Do not do it in a single source file because it won't work.
4. Start your application, and * Connect* to it with the profiler.