1 /*************************************************************************************
\r
3 \brief This header provides LibOVR version identification.
\r
4 \copyright Copyright 2014-2016 Oculus VR, LLC All Rights reserved.
\r
5 *************************************************************************************/
\r
7 #ifndef OVR_Version_h
\r
8 #define OVR_Version_h
\r
11 /// Conventional string-ification macro.
\r
12 #if !defined(OVR_STRINGIZE)
\r
13 #define OVR_STRINGIZEIMPL(x) #x
\r
14 #define OVR_STRINGIZE(x) OVR_STRINGIZEIMPL(x)
\r
17 // Master version numbers
\r
18 #define OVR_PRODUCT_VERSION 1 // Product version doesn't participate in semantic versioning.
\r
19 #define OVR_MAJOR_VERSION 1 // If you change these values then you need to also make sure to change
\r
20 // LibOVR/Projects/Windows/LibOVR.props in parallel.
\r
21 #define OVR_MINOR_VERSION 24 //
\r
22 #define OVR_PATCH_VERSION 0
\r
23 #define OVR_BUILD_NUMBER 0
\r
25 // This is the ((product * 100) + major) version of the service that the DLL is compatible with.
\r
26 // When we backport changes to old versions of the DLL we update the old DLLs
\r
27 // to move this version number up to the latest version.
\r
28 // The DLL is responsible for checking that the service is the version it supports
\r
29 // and returning an appropriate error message if it has not been made compatible.
\r
30 #define OVR_DLL_COMPATIBLE_VERSION 101
\r
32 // This is the minor version representing the minimum version an application can query with this
\r
33 // SDK. Calls ovr_Initialize will fail if the application requests a version that is less than this.
\r
34 #define OVR_MIN_REQUESTABLE_MINOR_VERSION 17
\r
36 #define OVR_FEATURE_VERSION 0
\r
38 /// "Major.Minor.Patch"
\r
39 #if !defined(OVR_VERSION_STRING)
\r
40 #define OVR_VERSION_STRING OVR_STRINGIZE(OVR_MAJOR_VERSION.OVR_MINOR_VERSION.OVR_PATCH_VERSION)
\r
43 /// "Major.Minor.Patch.Build"
\r
44 #if !defined(OVR_DETAILED_VERSION_STRING)
\r
45 #define OVR_DETAILED_VERSION_STRING \
\r
46 OVR_STRINGIZE(OVR_MAJOR_VERSION.OVR_MINOR_VERSION.OVR_PATCH_VERSION.OVR_BUILD_NUMBER)
\r
49 /// \brief file description for version info
\r
50 /// This appears in the user-visible file properties. It is intended to convey publicly
\r
51 /// available additional information such as feature builds.
\r
52 #if !defined(OVR_FILE_DESCRIPTION_STRING)
\r
54 #define OVR_FILE_DESCRIPTION_STRING "dev build debug"
\r
56 #define OVR_FILE_DESCRIPTION_STRING "dev build"
\r
60 #endif // OVR_Version_h
\r