43 #ifndef OPENVDB_VERSION_HAS_BEEN_INCLUDED
44 #define OPENVDB_VERSION_HAS_BEEN_INCLUDED
59 #define OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER 9
61 #define OPENVDB_LIBRARY_MINOR_VERSION_NUMBER 1
63 #define OPENVDB_LIBRARY_PATCH_VERSION_NUMBER 0
71 #ifndef OPENVDB_ABI_VERSION_NUMBER
74 #define OPENVDB_ABI_VERSION_NUMBER 9
82 #define OPENVDB_LIBRARY_VERSION_STRING "9.1.0"
89 #define OPENVDB_LIBRARY_ABI_VERSION_STRING "9.1.0abi9"
93 #define OPENVDB_LIBRARY_VERSION_NUMBER 151060480
97 #define OPENVDB_PACKAGE_URL "https://github.com/sideeffects/openvdb_dev.git"
98 #define OPENVDB_PACKAGE_REVISION "cd4bcb92c8302e7fcbd596b42b41674b274d3e2c"
118 #if OPENVDB_ABI_VERSION_NUMBER == OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
119 #define OPENVDB_VERSION_NAME v9_1_sesi
121 #define OPENVDB_VERSION_NAME v9_1_sesi_abi9
125 #ifndef OPENVDB_USE_IMATH_HALF
132 #ifndef OPENVDB_USE_BLOSC
133 #define OPENVDB_USE_BLOSC
137 #ifndef OPENVDB_USE_ZLIB
138 #define OPENVDB_USE_ZLIB
142 #ifndef OPENVDB_USE_EXPLICIT_INSTANTIATION
147 #define OPENVDB_INSTANTIATE extern template OPENVDB_TEMPLATE_IMPORT
148 #define OPENVDB_INSTANTIATE_CLASS extern template class OPENVDB_TEMPLATE_IMPORT
149 #define OPENVDB_INSTANTIATE_STRUCT extern template struct OPENVDB_TEMPLATE_IMPORT
152 #define OPENVDB_REAL_TREE_INSTANTIATE(Function)
153 #define OPENVDB_NUMERIC_TREE_INSTANTIATE(Function)
154 #define OPENVDB_VEC3_TREE_INSTANTIATE(Function)
155 #define OPENVDB_VOLUME_TREE_INSTANTIATE(Function)
156 #define OPENVDB_ALL_TREE_INSTANTIATE(Function)
162 #if OPENVDB_ABI_VERSION_NUMBER > OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
167 #if OPENVDB_ABI_VERSION_NUMBER == 10
168 #ifndef OPENVDB_USE_FUTURE_ABI_10
169 PRAGMA(
message(
"NOTE: ABI = 10 is still in active development and has not been finalized, "
170 "define OPENVDB_USE_FUTURE_ABI_10 to suppress this message"))
173 #error expected OPENVDB_ABI_VERSION_NUMBER <= OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
181 #ifndef OPENVDB_USE_DEPRECATED_ABI_7
182 #if OPENVDB_ABI_VERSION_NUMBER == 7
183 PRAGMA(
message(
"NOTE: ABI = 7 is deprecated, define OPENVDB_USE_DEPRECATED_ABI_7 "
184 "to suppress this message"))
187 #ifndef OPENVDB_USE_DEPRECATED_ABI_8
188 #if OPENVDB_ABI_VERSION_NUMBER == 8
189 PRAGMA(
message(
"NOTE: ABI = 8 is deprecated, define OPENVDB_USE_DEPRECATED_ABI_8 "
190 "to suppress this message"))
202 #ifdef OPENVDB_REQUIRE_VERSION_NAME
203 #define OPENVDB_USE_VERSION_NAMESPACE
207 #define OPENVDB_USE_VERSION_NAMESPACE \
208 namespace OPENVDB_VERSION_NAME {} \
209 using namespace OPENVDB_VERSION_NAME;
277 #endif // OPENVDB_VERSION_HAS_BEEN_INCLUDED
#define OPENVDB_LIBRARY_MINOR_VERSION_NUMBER
Library major, minor and patch version numbers.
GLuint GLsizei const GLchar * message
constexpr const char * getLibraryAbiVersionString()
Return a library version number string of the form "<major>.<minor>.<patch>abi<abi>".
const int32_t OPENVDB_MAGIC
The magic number is stored in the first four bytes of every VDB file.
const uint32_t OPENVDB_LIBRARY_PATCH_VERSION
#define OPENVDB_LIBRARY_PATCH_VERSION_NUMBER
Library major, minor and patch version numbers.
#define OPENVDB_LIBRARY_VERSION_STRING
Library version number string of the form "<major>.<minor>.<patch>".
#define OPENVDB_USE_VERSION_NAMESPACE
constexpr const char * getPackageRevision()
#define OPENVDB_PACKAGE_URL
Where this version was compiled from if it comes from a git repo.
#define OPENVDB_ABI_VERSION_NUMBER
The ABI version that OpenVDB was built with.
#define OPENVDB_LIBRARY_VERSION_NUMBER
Library version number as a packed integer ("%02x%02x%04x", major, minor, patch)
const uint32_t OPENVDB_LIBRARY_VERSION
constexpr const char * getPackageUrl()
VersionId(uint32_t major, uint32_t minor)
const uint32_t OPENVDB_LIBRARY_MAJOR_VERSION
#define OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
Library major, minor and patch version numbers.
#define OPENVDB_PACKAGE_REVISION
#define OPENVDB_LIBRARY_ABI_VERSION_STRING
Library version number string of the form "<major>.<minor>.<patch>abi<abi>".
const uint32_t OPENVDB_LIBRARY_MINOR_VERSION
const uint32_t OPENVDB_ABI_VERSION
constexpr const char * getLibraryVersionString()
Return a library version number string of the form "<major>.<minor>.<patch>".
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
const uint32_t OPENVDB_FILE_VERSION
The current version number of the VDB file format.