source: tspsg-svn/tags/0.1.2.100-alpha2/src/version.h

Last change on this file was 100, checked in by laleppa, 15 years ago

+ Added Installation Guide.

  • Updated translations.
  • Updated documentaion.

NB: This will be the second public alpha release.

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