00001 00049 #ifndef VERSION_H 00050 #define VERSION_H 00051 00052 #ifndef BUILD_VERSION_MAJOR 00054 #define BUILD_VERSION_MAJOR 0 00055 #endif // BUILD_VERSION_MAJOR 00056 #ifndef BUILD_VERSION_MINOR 00058 #define BUILD_VERSION_MINOR 0 00059 #endif // BUILD_VERSION_MINOR 00060 00069 #ifndef BUILD_RELEASE 00070 #define BUILD_RELEASE 0 00071 #endif // BUILD_RELEASE 00072 00078 #ifndef BUILD_NUMBER 00079 #define BUILD_NUMBER 0 00080 #endif // BUILD_NUMBER 00081 00088 #ifndef TSPSG_RELEASE_BUILD 00089 #define BUILD_STATUS (dev build) 00090 #elif BUILD_RELEASE < 4 00091 #define BUILD_STATUS (alpha) 00092 #elif BUILD_RELEASE < 8 00093 #define BUILD_STATUS (beta) 00094 #elif BUILD_RELEASE < 11 00095 #define BUILD_STATUS (rc) 00096 #endif // TSPSG_RELEASE_BUILD 00097 00099 #define QUOTE_X(x) #x 00101 #define QUOTE(x) QUOTE_X(x) 00102 00107 #ifndef BUILD_STATUS 00108 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE.BUILD_NUMBER) 00109 #else 00110 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE.BUILD_NUMBER BUILD_STATUS) 00111 #endif 00112 00113 #endif // VERSION_H