- Main Page
- Classes
- Files
- Directories
- Examples

- File List
- File Members

# fbxsdk_version.h

Go to the documentation of this file.

    00001 /****************************************************************************************
    00002
    00003    Copyright (C) 2012 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    2013        //integer
    00024 #define FBXSDK_VERSION_MINOR    1           //integer
    00025 #define FBXSDK_VERSION_POINT    0           //integer
    00026 #define FBXSDK_VERSION_NAME     "Release"   //string, ex: Alpha1, Alpha2, Beta1, Beta2, RC, Release
    00027 #define FBXSDK_VERSION_DATE     20120412    //yyyymmdd
    00028
    00029 #ifndef FBXSDK_VERSION_REVISION
    00030     #define FBXSDK_VERSION_REVISION 0       //set by environment, do not change here!
    00031 #endif
    00032
    00033 //FBX SDK version string macros
    00034 #define FBXSDK_DEF_TO_STR(x)    #x
    00035 #define FBXSDK_STRINGIFY(x)     FBXSDK_DEF_TO_STR(x)
    00036
    00037 #if FBXSDK_VERSION_POINT == 0
    00038     #define FBXSDK_VER_TO_STR(a, b, c)  FBXSDK_DEF_TO_STR(a.b)
    00039 #else
    00040     #define FBXSDK_VER_TO_STR(a, b, c)  FBXSDK_DEF_TO_STR(a.b.c)
    00041 #endif
    00042
    00043 //FBX SDK version string
    00044 #define FBXSDK_VERSION_STRING       FBXSDK_VER_TO_STR(FBXSDK_VERSION_MAJOR, FBXSDK_VERSION_MINOR, FBXSDK_VERSION_POINT)
    00045 #define FBXSDK_VERSION_STRING_FULL  FBXSDK_VERSION_STRING" "FBXSDK_VERSION_NAME" ("FBXSDK_STRINGIFY(FBXSDK_VERSION_REVISION)")"
    00046
    00047 //FBX SDK namespace definition
    00048 #ifndef FBXSDK_DEFINE_NAMESPACE
    00049     #define FBXSDK_DEFINE_NAMESPACE 1
    00050 #endif
    00051
    00052 #if FBXSDK_DEFINE_NAMESPACE == 1
    00053     #define FBXSDK_NAMESPACE fbxsdk_2013_1
    00054 #else
    00055     #define FBXSDK_NAMESPACE
    00056 #endif
    00057
    00058 #endif /* _FBXSDK_VERSION_H_ */