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 #ifndef BUILD_RELEASE 00062 #define BUILD_RELEASE 0 00063 #endif // BUILD_RELEASE 00064 00065 #ifndef BUILD_NUMBER 00067 #define BUILD_NUMBER 0 00068 #endif // BUILD_NUMBER 00069 00074 #ifdef DEBUG 00075 #ifndef BUILD_STATUS 00076 #define BUILD_STATUS (debug build BUILD_NUMBER) 00077 #endif 00078 #else 00079 #if !defined(TSPSG_RELEASE_BUILD) 00080 #define BUILD_STATUS (dev build) 00081 #elif !defined(BUILD_STATUS) 00082 #define BUILD_STATUS (build BUILD_NUMBER) 00083 #endif // TSPSG_RELEASE_BUILD 00084 #endif // DEBUG 00085 00087 #define QUOTE_X(x) #x 00089 #define QUOTE(x) QUOTE_X(x) 00090 00092 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE BUILD_STATUS) 00093 00094 #endif // VERSION_H