Changeset 98 in tspsg-svn for trunk/src/version.h
- Timestamp:
- Mar 12, 2010, 8:28:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/version.h
r97 r98 58 58 #define BUILD_VERSION_MINOR 0 59 59 #endif // BUILD_VERSION_MINOR 60 /*!61 * \brief TSPSG release number62 *63 * Release number meanings:64 * - 1 -- 3: <b>alpha</b> 1 to 365 * - 4 -- 7: <b>beta</b> 1 to 466 * - 8 -- 10: <b>rc</b> 1 to 367 * - 11 -- x: <b>release</b> 1 to x-1068 */69 60 #ifndef BUILD_RELEASE 61 //! TSPSG release number 70 62 #define BUILD_RELEASE 0 71 63 #endif // BUILD_RELEASE 72 64 73 /*!74 * \brief Current TSPSG build number75 *76 * This will only change on releases and will be the same as revision number.77 */78 65 #ifndef BUILD_NUMBER 66 //! Current TSPSG build number 79 67 #define BUILD_NUMBER 0 80 68 #endif // BUILD_NUMBER … … 83 71 * \def BUILD_STATUS 84 72 * \brief TSPSG build status 85 *86 * Determined based on BUILD_NUMBER and BUILD_RELEASE.87 73 */ 88 #if ndef TSPSG_RELEASE_BUILD74 #if !defined(TSPSG_RELEASE_BUILD) 89 75 #define BUILD_STATUS (dev build) 90 #elif BUILD_RELEASE < 4 91 #define BUILD_STATUS (alpha) 92 #elif BUILD_RELEASE < 8 93 #define BUILD_STATUS (beta) 94 #elif BUILD_RELEASE < 11 95 #define BUILD_STATUS (rc) 76 #elif !defined(BUILD_STATUS) 77 #define BUILD_STATUS (build BUILD_NUMBER) 96 78 #endif // TSPSG_RELEASE_BUILD 97 79 … … 101 83 #define QUOTE(x) QUOTE_X(x) 102 84 103 /*! 104 * \def BUILD_VERSION 105 * \brief Full version of TSPSG in the form: \c major.minor.release.build [\c status]. 106 */ 107 #ifndef BUILD_STATUS 108 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE.BUILD_NUMBER) 109 #else 110 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE.BUILD_NUMBER BUILD_STATUS) 111 #endif 85 //! Full version of TSPSG in the form: \c major.minor.release.build \c status. 86 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE BUILD_STATUS) 112 87 113 88 #endif // VERSION_H
Note: See TracChangeset
for help on using the changeset viewer.