Need to compile against Win7 to use tracy.

meow-7.2.2
Nicky 2021-04-01 00:02:23 +02:00
parent 242a312159
commit 785d9c03e6
2 changed files with 1 additions and 10 deletions

View File

@ -5,7 +5,7 @@ if (USE_TRACY_PROFILER)
if (WINDOWS)
# set(TRACY_LIBRARIES
# ${ARCH_PREBUILT_DIRS_RELEASE}/Tracy.lib
add_definitions(-DTRACY_ENABLE=1 -DTRACY_NO_FASTTIMERS)
add_definitions(-DTRACY_ENABLE=1 -DTRACY_NO_FASTTIMERS -DWINVER=0x0601 )
set(TRACY_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/tracy)
elseif (DARWIN)
message(FATAL_ERROR "Tracy is not yet implemented in FS for OSX.")

View File

@ -23,16 +23,7 @@
#include "client/TracyCallstack.cpp"
#include "client/TracySysTime.cpp"
// Black magic on Windows to deal with windows entry points that are not found in a standard LL windows build
// This is less invasive than changing the 3p library itself.
// TODO: work out why the windows trace subsystem stuff is not defined in our builds, this then goes away (hopefully)
#if defined(LL_WINDOWS) && !defined(__CYGWIN__)
#define __CYGWIN__
#include "client/TracySysTrace.cpp"
#undef __CYGWIN__
#else
#include "client/TracySysTrace.cpp"
#endif
#include "common/TracySocket.cpp"
#include "client/tracy_rpmalloc.cpp"