fbxsdk_version.h

Go to the documentation of this file.
00001 /****************************************************************************************
00002  
00003    Copyright (C) 2013 Autodesk, Inc.
00004    All rights reserved.
00005  
00006    Use of this software is subject to the terms of the Autodesk license agreement
00007    provided at the time of installation or download, or which otherwise accompanies
00008    this software in either electronic or hard copy form.
00009  
00010 ****************************************************************************************/
00011 
00019 #ifndef _FBXSDK_VERSION_H_
00020 #define _FBXSDK_VERSION_H_
00021 
00022 //FBX SDK version defines
00023 #define FBXSDK_VERSION_MAJOR    2014        //<! Integer, version major number
00024 #define FBXSDK_VERSION_MINOR    1           //<! Integer, version minor number
00025 #define FBXSDK_VERSION_POINT    0           //<! Integer, version point number
00026 #define FBXSDK_VERSION_NAME     "RC"        //<! String, version name, example: Alpha, Beta, RC, Release
00027 #define FBXSDK_VERSION_YEAR     2013        //<! Integer, release date year
00028 #define FBXSDK_VERSION_MONTH    03          //<! Integer, release date month
00029 #define FBXSDK_VERSION_DAY      05          //<! Integer, release date day
00030 
00031 #ifndef FBXSDK_VERSION_REVISION
00032     #define FBXSDK_VERSION_REVISION 0       //<! Integer, version revision number, set by build environment. Do not edit here!
00033 #endif
00034 
00035 //FBX SDK version string macros
00036 #define FBXSDK_DEF_TO_STR(x)    #x
00037 #define FBXSDK_STRINGIFY(x)     FBXSDK_DEF_TO_STR(x)
00038 
00039 #if FBXSDK_VERSION_POINT == 0
00040     #define FBXSDK_VER_TO_STR(a, b, c)  FBXSDK_DEF_TO_STR(a.b)
00041 #else
00042     #define FBXSDK_VER_TO_STR(a, b, c)  FBXSDK_DEF_TO_STR(a.b.c)
00043 #endif
00044 
00045 //FBX SDK version strings
00046 #define FBXSDK_VERSION_STRING       FBXSDK_VER_TO_STR(FBXSDK_VERSION_MAJOR, FBXSDK_VERSION_MINOR, FBXSDK_VERSION_POINT)
00047 #define FBXSDK_VERSION_STRING_FULL  FBXSDK_VERSION_STRING" "FBXSDK_VERSION_NAME" ("FBXSDK_STRINGIFY(FBXSDK_VERSION_REVISION)")"
00048 #define FBXSDK_VERSION_DATE         FBXSDK_STRINGIFY(FBXSDK_VERSION_YEAR)""FBXSDK_STRINGIFY(FBXSDK_VERSION_MONTH)""FBXSDK_STRINGIFY(FBXSDK_VERSION_DAY)
00049 
00050 //FBX SDK namespace definition
00051 #ifndef FBXSDK_DEFINE_NAMESPACE
00052     #define FBXSDK_DEFINE_NAMESPACE 1
00053 #endif
00054 
00055 #if FBXSDK_DEFINE_NAMESPACE == 1
00056     #define FBXSDK_NAMESPACE fbxsdk_2014_1_rc
00057 #else
00058     #define FBXSDK_NAMESPACE
00059 #endif
00060 
00061 #endif /* _FBXSDK_VERSION_H_ */