1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Escape underscores

This commit is contained in:
Timo Suoranta 2021-05-29 20:38:36 +03:00
parent 8f5473fd8a
commit 31691cd01d

View File

@ -396,21 +396,21 @@ When using CMake 3.11 or newer, you can use Tracy via CMake FetchContent. In thi
Add this to your CMakeLists.txt:
\begin{lstlisting}
FetchContent_Declare(
FetchContent\_Declare(
tracy
GIT_REPOSITORY https://github.com/wolfpld/tracy.git
GIT_TAG master
GIT_SHALLOW TRUE
GIT_PROGRESS TRUE
GIT\_REPOSITORY https://github.com/wolfpld/tracy.git
GIT\_TAG master
GIT\_SHALLOW TRUE
GIT\_PROGRESS TRUE
)
FetchContent_MakeAvailable(tracy)
FetchContent\_MakeAvailable(tracy)
\end{lstlisting}
Add this to any target where you use tracy for profiling:
\begin{lstlisting}
target_link_libraries(${_target} PUBLIC TracyClient)
target\_link\_libraries(${\_target} PUBLIC TracyClient)
\end{lstlisting}
\begin{bclogo}[