OVR_Version.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /********************************************************************************//**
  2. \file OVR_Version.h
  3. \brief This header provides LibOVR version identification.
  4. \copyright Copyright 2014 Oculus VR, LLC All Rights reserved.
  5. *************************************************************************************/
  6. #ifndef OVR_Version_h
  7. #define OVR_Version_h
  8. /// Conventional string-ification macro.
  9. #if !defined(OVR_STRINGIZE)
  10. #define OVR_STRINGIZEIMPL(x) #x
  11. #define OVR_STRINGIZE(x) OVR_STRINGIZEIMPL(x)
  12. #endif
  13. // We are on major version 6 of the beta pre-release SDK. At some point we will
  14. // transition to product version 1 and reset the major version back to 1 (first
  15. // product release, version 1.0).
  16. #define OVR_PRODUCT_VERSION 0
  17. #define OVR_MAJOR_VERSION 8
  18. #define OVR_MINOR_VERSION 0
  19. #define OVR_PATCH_VERSION 0
  20. #define OVR_BUILD_NUMBER 0
  21. // This is the major version of the service that the DLL is compatible with.
  22. // When we backport changes to old versions of the DLL we update the old DLLs
  23. // to move this version number up to the latest version.
  24. // The DLL is responsible for checking that the service is the version it supports
  25. // and returning an appropriate error message if it has not been made compatible.
  26. #define OVR_DLL_COMPATIBLE_MAJOR_VERSION 8
  27. #define OVR_FEATURE_VERSION 0
  28. /// "Product.Major.Minor.Patch"
  29. #if !defined(OVR_VERSION_STRING)
  30. #define OVR_VERSION_STRING OVR_STRINGIZE(OVR_PRODUCT_VERSION.OVR_MAJOR_VERSION.OVR_MINOR_VERSION.OVR_PATCH_VERSION)
  31. #endif
  32. /// "Product.Major.Minor.Patch.Build"
  33. #if !defined(OVR_DETAILED_VERSION_STRING)
  34. #define OVR_DETAILED_VERSION_STRING OVR_STRINGIZE(OVR_PRODUCT_VERSION.OVR_MAJOR_VERSION.OVR_MINOR_VERSION.OVR_PATCH_VERSION.OVR_BUILD_NUMBER)
  35. #endif
  36. // This is the product version for the Oculus Display Driver. A continuous
  37. // process will propagate this value to all dependent files
  38. #define OVR_DISPLAY_DRIVER_PRODUCT_VERSION "1.2.8.0"
  39. // This is the product version for the Oculus Position Tracker Driver. A
  40. // continuous process will propagate this value to all dependent files
  41. #define OVR_POSITIONAL_TRACKER_DRIVER_PRODUCT_VERSION "1.0.14.0"
  42. /// \brief file description for version info
  43. /// This appears in the user-visible file properties. It is intended to convey publicly
  44. /// available additional information such as feature builds.
  45. #if !defined(OVR_FILE_DESCRIPTION_STRING)
  46. #if defined(_DEBUG)
  47. #define OVR_FILE_DESCRIPTION_STRING "dev build debug"
  48. #else
  49. #define OVR_FILE_DESCRIPTION_STRING "dev build"
  50. #endif
  51. #endif
  52. #endif // OVR_Version_h