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: Add this to your CMakeLists.txt:
\begin{lstlisting} \begin{lstlisting}
FetchContent_Declare( FetchContent\_Declare(
tracy tracy
GIT_REPOSITORY https://github.com/wolfpld/tracy.git GIT\_REPOSITORY https://github.com/wolfpld/tracy.git
GIT_TAG master GIT\_TAG master
GIT_SHALLOW TRUE GIT\_SHALLOW TRUE
GIT_PROGRESS TRUE GIT\_PROGRESS TRUE
) )
FetchContent_MakeAvailable(tracy) FetchContent\_MakeAvailable(tracy)
\end{lstlisting} \end{lstlisting}
Add this to any target where you use tracy for profiling: Add this to any target where you use tracy for profiling:
\begin{lstlisting} \begin{lstlisting}
target_link_libraries(${_target} PUBLIC TracyClient) target\_link\_libraries(${\_target} PUBLIC TracyClient)
\end{lstlisting} \end{lstlisting}
\begin{bclogo}[ \begin{bclogo}[