Skip to content

Commit

Permalink
Remove obsolete library build files.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpld committed Sep 26, 2024
1 parent 9c5c082 commit 721cf57
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 316 deletions.
17 changes: 0 additions & 17 deletions library/unix/Makefile

This file was deleted.

12 changes: 0 additions & 12 deletions library/unix/build.mk

This file was deleted.

13 changes: 0 additions & 13 deletions library/unix/debug.mk

This file was deleted.

13 changes: 0 additions & 13 deletions library/unix/release.mk

This file was deleted.

25 changes: 0 additions & 25 deletions library/win32/TracyProfiler.sln

This file was deleted.

229 changes: 0 additions & 229 deletions library/win32/TracyProfiler.vcxproj

This file was deleted.

6 changes: 0 additions & 6 deletions library/win32/TracyProfiler.vcxproj.filters

This file was deleted.

2 changes: 1 addition & 1 deletion manual/tracy.tex
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ \subsubsection{Setup for multi-DLL projects}

Things are a bit different in projects that consist of multiple DLLs/shared objects. Compiling \texttt{TracyClient.cpp} into every DLL is not an option because this would result in several instances of Tracy objects lying around in the process. We instead need to pass their instances to the different DLLs to be reused there.

For that, you need a \emph{profiler DLL} to which your executable and the other DLLs link. If that doesn't exist, you have to create one explicitly for Tracy\footnote{You may also look at the \texttt{library} directory in the profiler source tree.}. This library should contain the \texttt{public/TracyClient.cpp} source file. Link the executable and all DLLs you want to profile to this DLL.
For that, you need a \emph{profiler DLL} to which your executable and the other DLLs link. If that doesn't exist, you have to create one explicitly for Tracy\footnote{You can use the top-level Meson or CMake build scripts to get it. Make sure that the same build flags are set for both the library and your application, or you may find yourself chasing weird issues.}. This library should contain the \texttt{public/TracyClient.cpp} source file. Link the executable and all DLLs you want to profile to this DLL.

If you are targeting Windows with Microsoft Visual Studio or MinGW, add the \texttt{TRACY\_IMPORTS} define to your application.

Expand Down

0 comments on commit 721cf57

Please sign in to comment.