source: tspsg/src/version.h @ 85ad815b0b

0.1.3.145-beta1-symbian0.1.4.170-beta2-bb10appveyorimgbotreadme
Last change on this file since 85ad815b0b was 85ad815b0b, checked in by Oleksii Serdiuk, 15 years ago

Some documentation updates.

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[bc1b8837b6]1/*! \mainpage
2 *
[85ad815b0b]3 * \image html tspsg.png
[bc1b8837b6]4 *  <b>TSPSG: TSP Solver and Generator</b>
[85ad815b0b]5 * \author Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name>
[430bd7f7e9]6 *
7 *  $Id$
8 *  $URL$
9 *
10 *  This file is part of TSPSG.
11 *
12 *  TSPSG is free software: you can redistribute it and/or modify
13 *  it under the terms of the GNU General Public License as published by
14 *  the Free Software Foundation, either version 3 of the License, or
15 *  (at your option) any later version.
16 *
17 *  TSPSG is distributed in the hope that it will be useful,
18 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
19 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 *  GNU General Public License for more details.
21 *
22 *  You should have received a copy of the GNU General Public License
23 *  along with TSPSG.  If not, see <http://www.gnu.org/licenses/>.
24 */
25
26#ifndef VERSION_H
27#define VERSION_H
28
[bc1b8837b6]29/*!
30 * \file version.h
31 * \brief This file contains TSPSG version information defines.
32 */
33
34//! TSPSG version ID
[55c4b858e9]35#define VERSIONID "$Id$"
[bc1b8837b6]36//! Major version of current TSPSG build
[430bd7f7e9]37#define BUILD_VERSION_MAJOR 0
[bc1b8837b6]38//! Minor version of current TSPSG build
[430bd7f7e9]39#define BUILD_VERSION_MINOR 1
[bc1b8837b6]40//! TSPSG release number
[ec54b4490b]41#define BUILD_RELEASE 2
[bc1b8837b6]42
43/*!
44 * \brief Current TSPSG build number
45 *
46 * This will only change on releases and will be the same as revision number.
47 *
48 * Build number meanings:
[85ad815b0b]49 *   - 1  --  3: <b>alpha</b> 1 to 3
50 *   - 4  --  7: <b>beta</b> 1 to 4
51 *   - 8  -- 10: <b>rc</b> 1 to 3
52 *   - 11 --  x: <b>release</b> 1 to x-10
[bc1b8837b6]53 */
[ec54b4490b]54#define BUILD_NUMBER 65535
[bc1b8837b6]55
56/*!
57 * \def BUILD_STATUS
58 * \brief TSPSG build status
59 *
60 * Determined based on BUILD_NUMBER.
61 */
[ec54b4490b]62#if BUILD_NUMBER == 65535
63        #define BUILD_STATUS (dev build)
64#elif BUILD_RELEASE < 4
65        #define BUILD_STATUS (alpha)
66#elif BUILD_RELEASE < 8
67        #define BUILD_STATUS (beta)
68#elif BUILD_RELEASE < 11
69        #define BUILD_STATUS (rc)
70#endif // BUILD_NUMBER == 65535
[430bd7f7e9]71
[85ad815b0b]72//! \internal \brief A helper for QUOTE(x).
[430bd7f7e9]73#define QUOTE_X(x) #x
[85ad815b0b]74//! Used for "conversion" of \a x to quoted string
[430bd7f7e9]75#define QUOTE(x) QUOTE_X(x)
76
[bc1b8837b6]77/*!
78 * \def BUILD_VERSION
[85ad815b0b]79 * \brief Full version of TSPSG in the form: \c major.\c minor.\c release[ \c status].
[bc1b8837b6]80 */
[ec54b4490b]81#ifndef BUILD_STATUS
82        #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE)
83#else
84        #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE BUILD_STATUS)
85#endif
[430bd7f7e9]86
87#endif // VERSION_H
Note: See TracBrowser for help on using the repository browser.