fbxsdk/fbxsdk_version.h Source File
 
 
 
fbxsdk/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             "Release"       //<! String, version name, example: Alpha, Beta, RC, Release
00027 
00028 #define FBXSDK_VERSION_YEAR     2013            //<! Integer, release date year
00029 #define FBXSDK_VERSION_MONTH    04                      //<! Integer, release date month
00030 #define FBXSDK_VERSION_DAY              02                      //<! Integer, release date day
00031 
00032 #ifndef FBXSDK_VERSION_REVISION
00033         #define FBXSDK_VERSION_REVISION 0               //<! Integer, version revision number, set by build environment. Do not edit here!
00034 #endif
00035 
00036 //FBX SDK version string macros
00037 #define FBXSDK_DEF_TO_STR(x)    #x
00038 #define FBXSDK_STRINGIFY(x)             FBXSDK_DEF_TO_STR(x)
00039 
00040 #if FBXSDK_VERSION_POINT == 0
00041         #define FBXSDK_VER_TO_STR(a, b, c)      FBXSDK_DEF_TO_STR(a.b)
00042 #else
00043         #define FBXSDK_VER_TO_STR(a, b, c)      FBXSDK_DEF_TO_STR(a.b.c)
00044 #endif
00045 
00046 //FBX SDK version strings
00047 #define FBXSDK_VERSION_STRING           FBXSDK_VER_TO_STR(FBXSDK_VERSION_MAJOR, FBXSDK_VERSION_MINOR, FBXSDK_VERSION_POINT)
00048 #define FBXSDK_VERSION_STRING_FULL      FBXSDK_VERSION_STRING" "FBXSDK_VERSION_NAME" ("FBXSDK_STRINGIFY(FBXSDK_VERSION_REVISION)")"
00049 #define FBXSDK_VERSION_DATE                     FBXSDK_STRINGIFY(FBXSDK_VERSION_YEAR)""FBXSDK_STRINGIFY(FBXSDK_VERSION_MONTH)""FBXSDK_STRINGIFY(FBXSDK_VERSION_DAY)
00050 
00051 //FBX SDK namespace definition
00052 #ifndef FBXSDK_DEFINE_NAMESPACE
00053         #define FBXSDK_DEFINE_NAMESPACE 1
00054 #endif
00055 
00056 #if FBXSDK_DEFINE_NAMESPACE == 1
00057         #define FBXSDK_NAMESPACE fbxsdk_2014_1
00058 #else
00059         #define FBXSDK_NAMESPACE
00060 #endif
00061 
00062 #endif /* _FBXSDK_VERSION_H_ */