FBX C++ API Reference
fbxsdk_version.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2017 Autodesk, Inc.
4  All rights reserved.
5 
6  Use of this software is subject to the terms of the Autodesk license agreement
7  provided at the time of installation or download, or which otherwise accompanies
8  this software in either electronic or hard copy form.
9 
10 ****************************************************************************************/
11 
19 #ifndef _FBXSDK_VERSION_H_
20 #define _FBXSDK_VERSION_H_
21 
22 //FBX SDK version defines
23 #define FBXSDK_VERSION_MAJOR 2019 //<! Integer, version major number
24 #define FBXSDK_VERSION_MINOR 0 //<! Integer, version minor number
25 #define FBXSDK_VERSION_POINT 0 //<! Integer, version point number
26 #define FBXSDK_VERSION_NAME "Alpha" //<! String, version name, example: Alpha, Beta, RC, Release
27 
28 #ifndef FBXSDK_VERSION_REVISION
29  #define FBXSDK_VERSION_REVISION 0 //<! Integer, version revision number, set by build environment. Do not edit here!
30 #endif
31 
32 //FBX SDK version string macros
33 #define FBX_STRING(x) #x
34 #define FBX_STRINGIFY(x) FBX_STRING(x)
35 
36 #if FBXSDK_VERSION_POINT == 0
37  #define FBXSDK_VER_TO_STR(a, b, c) FBX_STRING(a.b)
38 #else
39  #define FBXSDK_VER_TO_STR(a, b, c) FBX_STRING(a.b.c)
40 #endif
41 
42 //FBX SDK version strings
43 #define FBXSDK_VERSION_STRING FBXSDK_VER_TO_STR(FBXSDK_VERSION_MAJOR, FBXSDK_VERSION_MINOR, FBXSDK_VERSION_POINT)
44 #define FBXSDK_VERSION_STRING_FULL FBXSDK_VERSION_STRING " " FBXSDK_VERSION_NAME " (" FBX_STRINGIFY(FBXSDK_VERSION_REVISION) ")"
45 
46 //FBX SDK namespace definition
47 #ifndef FBXSDK_DEFINE_NAMESPACE
48  #define FBXSDK_DEFINE_NAMESPACE 1
49 #endif
50 
51 #if FBXSDK_DEFINE_NAMESPACE == 1
52  #define FBXSDK_NAMESPACE fbxsdk
53 #else
54  #define FBXSDK_NAMESPACE
55 #endif
56 
57 #endif /* _FBXSDK_VERSION_H_ */