LibraryInfo.cpp 706 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Copyright (c) 2008-2023 the Urho3D project
  2. // License: MIT
  3. #include "Precompiled.h"
  4. #include "LibraryInfo.h"
  5. #include "librevision.h"
  6. namespace Urho3D
  7. {
  8. const char* GetRevision()
  9. {
  10. return revision;
  11. }
  12. const char* GetCompilerDefines()
  13. {
  14. return ""
  15. #ifdef URHO3D_OPENGL
  16. "#define URHO3D_OPENGL\n"
  17. #elif defined(URHO3D_D3D11)
  18. "#define URHO3D_D3D11\n"
  19. #endif
  20. #ifdef URHO3D_SSE
  21. "#define URHO3D_SSE\n"
  22. #endif
  23. #ifdef URHO3D_DATABASE_ODBC
  24. "#define URHO3D_DATABASE_ODBC\n"
  25. #elif defined(URHO3D_DATABASE_SQLITE)
  26. "#define URHO3D_DATABASE_SQLITE\n"
  27. #endif
  28. #ifdef URHO3D_LUAJIT
  29. "#define URHO3D_LUAJIT\n"
  30. #endif
  31. #ifdef URHO3D_TESTING
  32. "#define URHO3D_TESTING\n"
  33. #endif
  34. ;
  35. }
  36. }