mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 14:54:34 +00:00
20 lines
400 B
C++
20 lines
400 B
C++
//
|
|
// Tracy profiler
|
|
// ----------------
|
|
//
|
|
// On multi-DLL projects compile and
|
|
// link with this source file (and none
|
|
// other) in the executable and in
|
|
// DLLs / shared objects that link to
|
|
// the main DLL.
|
|
//
|
|
|
|
// Define TRACY_ENABLE to enable profiler.
|
|
|
|
#ifdef TRACY_ENABLE
|
|
# ifndef TRACY_IMPORTS
|
|
# define TRACY_IMPORTS 1
|
|
# endif
|
|
# include "common/TracySystem.cpp"
|
|
#endif
|