| 1 | /**************************************************************************************** |
| 2 | |
| 3 | Copyright (C) 2015 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 | |
| 12 | /** \file fbxsdk_version.h |
| 13 | * FBX SDK version definition. |
| 14 | * |
| 15 | * This file defines the version string and numbers for this release of the FBX SDK. |
| 16 | * \note This file should never be included directly, please include fbxsdk_def.h |
| 17 | * instead. |
| 18 | */ |
| 19 | #ifndef _FBXSDK_VERSION_H_ |
| 20 | #define _FBXSDK_VERSION_H_ |
| 21 | |
| 22 | //FBX SDK version defines |
| 23 | #define FBXSDK_VERSION_MAJOR 2016 //<! Integer, version major number |
| 24 | #define FBXSDK_VERSION_MINOR 1 //<! Integer, version minor number |
| 25 | #define FBXSDK_VERSION_POINT 0 //<! Integer, version point number |
| 26 | #define FBXSDK_VERSION_NAME "Release" //<! String, version name, example: Alpha, Beta, RC, Release |
| 27 | |
| 28 | #define FBXSDK_VERSION_YEAR 2015 //<! Integer, release date year |
| 29 | #define FBXSDK_VERSION_MONTH 06 //<! Integer, release date month |
| 30 | #define FBXSDK_VERSION_DAY 30 //<! Integer, release date day |
| 31 | |
| 32 | #ifndef FBXSDK_VERSION_REVISION |
| 33 | #define FBXSDK_VERSION_REVISION 0 //<! Integer, version revision number, set by build environment. Do not edit here! |
| 34 | #endif |
| 35 | |
| 36 | //FBX SDK version string macros |
| 37 | #define FBX_STRING(x) #x |
| 38 | #define FBX_STRINGIFY(x) FBX_STRING(x) |
| 39 | |
| 40 | #if FBXSDK_VERSION_POINT == 0 |
| 41 | #define FBXSDK_VER_TO_STR(a, b, c) FBX_STRING(a.b) |
| 42 | #else |
| 43 | #define FBXSDK_VER_TO_STR(a, b, c) FBX_STRING(a.b.c) |
| 44 | #endif |
| 45 | |
| 46 | //FBX SDK version strings |
| 47 | #define FBXSDK_VERSION_STRING FBXSDK_VER_TO_STR(FBXSDK_VERSION_MAJOR, FBXSDK_VERSION_MINOR, FBXSDK_VERSION_POINT) |
| 48 | #define FBXSDK_VERSION_STRING_FULL FBXSDK_VERSION_STRING " " FBXSDK_VERSION_NAME " (" FBX_STRINGIFY(FBXSDK_VERSION_REVISION) ")" |
| 49 | #define FBXSDK_VERSION_DATE FBX_STRINGIFY(FBXSDK_VERSION_YEAR) "" FBX_STRINGIFY(FBXSDK_VERSION_MONTH) "" FBX_STRINGIFY(FBXSDK_VERSION_DAY) |
| 50 | |
| 51 | //FBX SDK namespace definition |
| 52 | #ifndef FBXSDK_DEFINE_NAMESPACE |
| 53 | #define FBXSDK_DEFINE_NAMESPACE 1 |
| 54 | #endif |
| 55 | |
| 56 | #if FBXSDK_DEFINE_NAMESPACE == 1 |
| 57 | #define FBXSDK_NAMESPACE fbxsdk |
| 58 | #else |
| 59 | #define FBXSDK_NAMESPACE |
| 60 | #endif |
| 61 | |
| 62 | #endif /* _FBXSDK_VERSION_H_ */ |
| 63 | |