AssimpPCH.cpp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // This is a dummy unit - it is used to generate the precompiled header file.
  2. // + it contains version management functions
  3. #include "AssimpPCH.h"
  4. // ################################################################################
  5. // Legal information string
  6. // Note that this string must be contained in the compiled image.
  7. static const char* LEGAL_INFORMATION =
  8. "Open Asset Import Library (ASSIMP).\n"
  9. "A free C/C++ library to import various 3D file formats into applications\n\n"
  10. "(c) ASSIMP Development Team, 2008-2009\n"
  11. "License: modified BSD license (http://assimp.sourceforge.net/main_license.html)\n"
  12. "Website: http://assimp.sourceforge.net\n"
  13. ;
  14. // ################################################################################
  15. // ------------------------------------------------------------------------------------------------
  16. ASSIMP_API const char* aiGetLegalString ()
  17. {
  18. return LEGAL_INFORMATION;
  19. }
  20. // ------------------------------------------------------------------------------------------------
  21. ASSIMP_API unsigned int aiGetVersionMinor ()
  22. {
  23. return 5;
  24. }
  25. // ------------------------------------------------------------------------------------------------
  26. ASSIMP_API unsigned int aiGetVersionMajor ()
  27. {
  28. return 0;
  29. }
  30. // ------------------------------------------------------------------------------------------------
  31. ASSIMP_API unsigned int aiGetVersionRevision ()
  32. {
  33. // TODO: find a way to update the revision number automatically
  34. return 254;
  35. }