Need to compile against Win7 to use tracy.
parent
242a312159
commit
785d9c03e6
|
|
@ -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.")
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue