fbxsdk_version.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /****************************************************************************************
  2. Copyright (C) 2015 Autodesk, Inc.
  3. All rights reserved.
  4. Use of this software is subject to the terms of the Autodesk license agreement
  5. provided at the time of installation or download, or which otherwise accompanies
  6. this software in either electronic or hard copy form.
  7. ****************************************************************************************/
  8. /** \file fbxsdk_version.h
  9. * FBX SDK version definition.
  10. *
  11. * This file defines the version string and numbers for this release of the FBX SDK.
  12. * \note This file should never be included directly, please include fbxsdk_def.h
  13. * instead.
  14. */
  15. #ifndef _FBXSDK_VERSION_H_
  16. #define _FBXSDK_VERSION_H_
  17. //FBX SDK version defines
  18. #define FBXSDK_VERSION_MAJOR 2017 //<! Integer, version major number
  19. #define FBXSDK_VERSION_MINOR 0 //<! Integer, version minor number
  20. #define FBXSDK_VERSION_POINT 1 //<! Integer, version point number
  21. #define FBXSDK_VERSION_NAME "Release" //<! String, version name, example: Alpha, Beta, RC, Release
  22. #define FBXSDK_VERSION_YEAR 2016 //<! Integer, release date year
  23. #define FBXSDK_VERSION_MONTH 04 //<! Integer, release date month
  24. #define FBXSDK_VERSION_DAY 14 //<! Integer, release date day
  25. #ifndef FBXSDK_VERSION_REVISION
  26. #define FBXSDK_VERSION_REVISION 0 //<! Integer, version revision number, set by build environment. Do not edit here!
  27. #endif
  28. //FBX SDK version string macros
  29. #define FBX_STRING(x) #x
  30. #define FBX_STRINGIFY(x) FBX_STRING(x)
  31. #if FBXSDK_VERSION_POINT == 0
  32. #define FBXSDK_VER_TO_STR(a, b, c) FBX_STRING(a.b)
  33. #else
  34. #define FBXSDK_VER_TO_STR(a, b, c) FBX_STRING(a.b.c)
  35. #endif
  36. //FBX SDK version strings
  37. #define FBXSDK_VERSION_STRING FBXSDK_VER_TO_STR(FBXSDK_VERSION_MAJOR, FBXSDK_VERSION_MINOR, FBXSDK_VERSION_POINT)
  38. #define FBXSDK_VERSION_STRING_FULL FBXSDK_VERSION_STRING " " FBXSDK_VERSION_NAME " (" FBX_STRINGIFY(FBXSDK_VERSION_REVISION) ")"
  39. #define FBXSDK_VERSION_DATE FBX_STRINGIFY(FBXSDK_VERSION_YEAR) "" FBX_STRINGIFY(FBXSDK_VERSION_MONTH) "" FBX_STRINGIFY(FBXSDK_VERSION_DAY)
  40. //FBX SDK namespace definition
  41. #ifndef FBXSDK_DEFINE_NAMESPACE
  42. #define FBXSDK_DEFINE_NAMESPACE 1
  43. #endif
  44. #if FBXSDK_DEFINE_NAMESPACE == 1
  45. #define FBXSDK_NAMESPACE fbxsdk
  46. #else
  47. #define FBXSDK_NAMESPACE
  48. #endif
  49. #endif /* _FBXSDK_VERSION_H_ */