Go to the documentation of this file.
6 #ifndef OPENIMAGEIO_VERSION_H
7 #define OPENIMAGEIO_VERSION_H
45 #define OIIO_VERSION_MAJOR 2
46 #define OIIO_VERSION_MINOR 3
47 #define OIIO_VERSION_PATCH 14
48 #define OIIO_VERSION_TWEAK 0
49 #define OIIO_VERSION_RELEASE_TYPE
58 #define OIIO_MAKE_VERSION(major,minor,patch) \
59 (10000 * (major) + 100 * (minor) + (patch))
62 #define OIIO_VERSION OIIO_MAKE_VERSION(OIIO_VERSION_MAJOR, \
63 OIIO_VERSION_MINOR, OIIO_VERSION_PATCH)
66 #define OIIO_VERSION_GREATER_EQUAL(major,minor,patch) \
67 OIIO_VERSION >= OIIO_MAKE_VERSION(major,minor,patch)
70 #define OIIO_VERSION_LESS(major,minor,patch) \
71 OIIO_VERSION < OIIO_MAKE_VERSION(major,minor,patch)
74 #define OPENIMAGEIO_VERSION OIIO_VERSION
77 #define OIIO_MAKE_VERSION_STRING2(a,b,c,d) #a "." #b "." #c #d
78 #define OIIO_MAKE_VERSION_STRING(a,b,c,d) OIIO_MAKE_VERSION_STRING2(a,b,c,d)
79 #define OIIO_VERSION_STRING \
80 OIIO_MAKE_VERSION_STRING(OIIO_VERSION_MAJOR, \
81 OIIO_VERSION_MINOR, OIIO_VERSION_PATCH, \
82 OIIO_VERSION_RELEASE_TYPE)
83 #define OIIO_INTRO_STRING "OpenImageIO " OIIO_VERSION_STRING " http://www.openimageio.org"
87 namespace HOIIO_v2_3 { }
88 namespace OIIO = HOIIO_v2_3;
91 #define OIIO_NAMESPACE HOIIO_v2_3
92 #define OIIO_NAMESPACE_STRING "HOIIO_v2_3"
93 #define OIIO_NAMESPACE_BEGIN namespace HOIIO_v2_3 {
94 #define OIIO_NAMESPACE_END }
95 #define OIIO_NAMESPACE_USING using namespace OIIO;
138 #define OIIO_PLUGIN_VERSION 25
140 #define OIIO_PLUGIN_NAMESPACE_BEGIN OIIO_NAMESPACE_BEGIN
141 #define OIIO_PLUGIN_NAMESPACE_END OIIO_NAMESPACE_END
144 #define OIIO_PLUGIN_EXPORTS_BEGIN
145 #define OIIO_PLUGIN_EXPORTS_END
147 #define OIIO_PLUGIN_EXPORTS_BEGIN extern "C" {
148 #define OIIO_PLUGIN_EXPORTS_END }
152 #define OIIO_BUILD_CPP 17
155 #define OIIO_BUILD_CPP11 (17 >= 11)
156 #define OIIO_BUILD_CPP14 (17 >= 14)
157 #define OIIO_BUILD_CPP17 (17 >= 17)
158 #define OIIO_BUILD_CPP20 (17 >= 20)