mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-03 16:01:38 +00:00
[build] Fix up unwanted dependency on tracy source
The tracy source files should not be required for make dist to work, so this works around it by using a little indirection.
This commit is contained in:
parent
2dd8eea0d9
commit
dd4f51049d
3 changed files with 12 additions and 2 deletions
|
@ -62,8 +62,8 @@ PTHREAD_LDFLAGS=@PTHREAD_LDFLAGS@
|
|||
PTHREAD_CFLAGS=@PTHREAD_CFLAGS@
|
||||
|
||||
if HAVE_TRACY
|
||||
tracy_src=tracy/public/TracyClient.cpp
|
||||
tracyvk_src=tracy/public/client/TracyVkProfiler.cpp
|
||||
tracy_src=tools/tracy/qftracy.cc
|
||||
tracyvk_src=tools/tracy/qftracyvk.cc
|
||||
else
|
||||
tracy_src=
|
||||
tracyvk_src=
|
||||
|
|
5
tools/tracy/qftracy.cc
Normal file
5
tools/tracy/qftracy.cc
Normal file
|
@ -0,0 +1,5 @@
|
|||
// this works around a limitation with automake and source files that are
|
||||
// not part of the distribution
|
||||
#ifdef HAVE_TRACY
|
||||
#include "tracy/public/TracyClient.cpp"
|
||||
#endif
|
5
tools/tracy/qftracyvk.cc
Normal file
5
tools/tracy/qftracyvk.cc
Normal file
|
@ -0,0 +1,5 @@
|
|||
// this works around a limitation with automake and source files that are
|
||||
// not part of the distribution
|
||||
#ifdef HAVE_TRACY
|
||||
#include "tracy/public/client/TracyVkProfiler.cpp"
|
||||
#endif
|
Loading…
Reference in a new issue