Changeset 96 in tspsg-svn for trunk/src/version.h
- Timestamp:
- Mar 1, 2010, 2:13:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/version.h
r87 r96 52 52 53 53 //! TSPSG version ID 54 #define VERSIONID "$Id$"54 //#define VERSIONID "$Id$" 55 55 //! Major version of current TSPSG build 56 #define BUILD_VERSION_MAJOR 056 //#define BUILD_VERSION_MAJOR 0 57 57 //! Minor version of current TSPSG build 58 #define BUILD_VERSION_MINOR 158 //#define BUILD_VERSION_MINOR 1 59 59 /*! 60 60 * \brief TSPSG release number … … 66 66 * - 11 -- x: <b>release</b> 1 to x-10 67 67 */ 68 #define BUILD_RELEASE 268 //#define BUILD_RELEASE 2 69 69 70 70 /*! … … 73 73 * This will only change on releases and will be the same as revision number. 74 74 */ 75 #define BUILD_NUMBER 6553575 //#define BUILD_NUMBER 65535 76 76 77 77 /*! … … 81 81 * Determined based on BUILD_NUMBER and BUILD_RELEASE. 82 82 */ 83 #if BUILD_NUMBER == 6553583 #ifndef TSPSG_RELEASE_BUILD 84 84 #define BUILD_STATUS (dev build) 85 85 #else … … 90 90 #elif BUILD_RELEASE < 11 91 91 #define BUILD_STATUS (rc) 92 #else93 #define BUILD_STATUS92 // #else 93 // #define BUILD_STATUS 94 94 #endif 95 #endif // BUILD_NUMBER == 6553595 #endif // TSPSG_RELEASE_BUILD 96 96 97 97 //! \internal \brief A helper for QUOTE(x). … … 102 102 /*! 103 103 * \def BUILD_VERSION 104 * \brief Full version of TSPSG in the form: \c major.\c minor.\c release [ \c status].104 * \brief Full version of TSPSG in the form: \c major.\c minor.\c release.\c build [ \c status]. 105 105 */ 106 106 #ifndef BUILD_STATUS 107 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE )107 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE.BUILD_NUMBER) 108 108 #else 109 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE BUILD_STATUS)109 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE.BUILD_NUMBER BUILD_STATUS) 110 110 #endif 111 111
Note: See TracChangeset
for help on using the changeset viewer.