30a629ca21
* Tracy profiler integration. * Cleanup URHO3D_TRACY_PROFILING macro. * Fix comment of Tracy build option. * Decouple URHO3D_TRACY_PROFILING exclusively from URHO3D_PROFILING. * Comment explains URHO3D_TRACY_PROFILING * Update * Update CMakeLists.txt * Update CMakeLists.txt * Update CMakeLists.txt * Update CMakeLists.txt * Update * Update TracyCallstack.cpp * Update * Update CMakeLists.txt * Update TracyCallstack.cpp * Update TracyCallstack.cpp Co-authored-by: 1vanK <1vanK@users.noreply.github.com>
17 lines
374 B
C++
17 lines
374 B
C++
#ifndef __TRACYAPI_H__
|
|
#define __TRACYAPI_H__
|
|
|
|
#if defined _WIN32 || defined __CYGWIN__
|
|
# if defined TRACY_EXPORTS
|
|
# define TRACY_API __declspec(dllexport)
|
|
# elif defined TRACY_IMPORTS
|
|
# define TRACY_API __declspec(dllimport)
|
|
# else
|
|
# define TRACY_API
|
|
# endif
|
|
#else
|
|
# define TRACY_API __attribute__((visibility("default")))
|
|
#endif
|
|
|
|
#endif // __TRACYAPI_H__
|