You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.0 KiB

1 year ago
  1. #pragma once
  2. #if defined(TRACK_ENGINE_STATIC)
  3. #define TRACK_ENGINE_API
  4. #else
  5. #if defined (_WIN32)
  6. #if defined (TRACK_ENGINE__DLL_EXPORTS)
  7. #define TRACK_ENGINE_API __declspec(dllexport) //!< DLL export specifier.
  8. #else
  9. #define TRACK_ENGINE_API __declspec(dllimport) //!< DLL import specifier.
  10. #endif
  11. #else
  12. #if __GNUC__ >= 4
  13. #define TRACK_ENGINE_API __attribute__ ((visibility ("default")))
  14. #else
  15. #define TRACK_ENGINE_API //!< Dummy.
  16. #endif
  17. #endif
  18. #endif
  19. #if defined(__clang__) || defined(__GNUC__)
  20. #define TSDK_DEPRECATED(msg) __attribute__((__deprecated__(msg)))
  21. #elif defined(_MSC_VER)
  22. #define TSDK_DEPRECATED(msg) __declspec(deprecated(msg))
  23. #else
  24. #define TSDK_DEPRECATED(msg)
  25. #endif
  26. //! Major version.
  27. #define TRACK_ENGINE_MAJOR 0
  28. //! Minor version.
  29. #define TRACK_ENGINE_MINOR 0
  30. //! Patch version.
  31. #define TRACK_ENGINE_PATCH 1
  32. //! Revision hash.
  33. #if !defined(TRACK_ENGINE_HASH)
  34. #define TRACK_ENGINE_HASH "9f487c533b611601cc0b77cb8a87ee7af71e5f0d"
  35. #endif
  36. #define TE_MOBILE_BUILD 1