30 lines
1.0 KiB
C
30 lines
1.0 KiB
C
#ifndef ASSIMP_REVISION_H_INC
|
|
#define ASSIMP_REVISION_H_INC
|
|
|
|
#define GitVersion 0x@GIT_COMMIT_HASH@
|
|
#define GitBranch "@GIT_BRANCH@"
|
|
|
|
#define VER_MAJOR @ASSIMP_VERSION_MAJOR@
|
|
#define VER_MINOR @ASSIMP_VERSION_MINOR@
|
|
#define VER_PATCH @ASSIMP_VERSION_PATCH@
|
|
#define VER_BUILD @ASSIMP_PACKAGE_VERSION@
|
|
|
|
#define STR_HELP(x) #x
|
|
#define STR(x) STR_HELP(x)
|
|
|
|
#define VER_FILEVERSION VER_MAJOR,VER_MINOR,VER_PATCH,VER_BUILD
|
|
#if (GitVersion == 0)
|
|
#define VER_FILEVERSION_STR STR(VER_MAJOR) "." STR(VER_MINOR) "." STR(VER_PATCH) "." STR(VER_BUILD)
|
|
#else
|
|
#define VER_FILEVERSION_STR STR(VER_MAJOR) "." STR(VER_MINOR) "." STR(VER_PATCH) "." STR(VER_BUILD) " (Commit @GIT_COMMIT_HASH@)"
|
|
#endif
|
|
#define VER_COPYRIGHT_STR "\xA9 2006-2023"
|
|
|
|
#ifdef NDEBUG
|
|
#define VER_ORIGINAL_FILENAME_STR "@CMAKE_SHARED_LIBRARY_PREFIX@assimp@LIBRARY_SUFFIX@.dll"
|
|
#else
|
|
#define VER_ORIGINAL_FILENAME_STR "@CMAKE_SHARED_LIBRARY_PREFIX@assimp@LIBRARY_SUFFIX@@CMAKE_DEBUG_POSTFIX@.dll"
|
|
#endif // NDEBUG
|
|
|
|
#endif // ASSIMP_REVISION_H_INC
|