source: tspsg/src/version.h @ 5d401f2c50

0.1.3.145-beta1-symbian0.1.4.170-beta2-bb10appveyorimgbotreadme
Last change on this file since 5d401f2c50 was 5d401f2c50, checked in by Oleksii Serdiuk, 14 years ago

+ Added ChangeLog?, Installation Guide and License pages to doxygen generated documentation.

  • Added city and separator parameters to CTSPSolver::getSortedPath() method to make path generation more flexible.
  • Fixed a bug when the solution graph wasn't drwan correctly in some situations.
  • Property mode set to 100644
File size: 2.1 KB
RevLine 
[e0fcac5f2c]1/*!
2 * \file version.h
[f19df0a3e5]3 * \author Copyright &copy; 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
[e0fcac5f2c]4 *
5 *  $Id$
6 *  $URL$
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.
[bc1b8837b6]18 *
[e0fcac5f2c]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 */
[430bd7f7e9]27
28#ifndef VERSION_H
29#define VERSION_H
30
[f19df0a3e5]31#ifndef BUILD_VERSION_MAJOR
32        //! Major version of current TSPSG build
33        #define BUILD_VERSION_MAJOR 0
34#endif // BUILD_VERSION_MAJOR
35#ifndef BUILD_VERSION_MINOR
36        //! Minor version of current TSPSG build
37        #define BUILD_VERSION_MINOR 0
38#endif // BUILD_VERSION_MINOR
39#ifndef BUILD_RELEASE
[e2abfd326f]40        //! TSPSG release number
[f19df0a3e5]41        #define BUILD_RELEASE 0
42#endif // BUILD_RELEASE
[bc1b8837b6]43
[f19df0a3e5]44#ifndef BUILD_NUMBER
[e2abfd326f]45        //! Current TSPSG build number
[f19df0a3e5]46        #define BUILD_NUMBER 0
47#endif // BUILD_NUMBER
[bc1b8837b6]48
49/*!
50 * \def BUILD_STATUS
51 * \brief TSPSG build status
52 */
[1babbd6ba3]53#ifdef DEBUG
54        #ifndef BUILD_STATUS
55                #define BUILD_STATUS (debug build BUILD_NUMBER)
56        #endif
57#else
58        #if !defined(TSPSG_RELEASE_BUILD)
59                #define BUILD_STATUS (dev build)
60        #elif !defined(BUILD_STATUS)
61                #define BUILD_STATUS (build BUILD_NUMBER)
62        #endif // TSPSG_RELEASE_BUILD
63#endif // DEBUG
[430bd7f7e9]64
[85ad815b0b]65//! \internal \brief A helper for QUOTE(x).
[430bd7f7e9]66#define QUOTE_X(x) #x
[85ad815b0b]67//! Used for "conversion" of \a x to quoted string
[430bd7f7e9]68#define QUOTE(x) QUOTE_X(x)
69
[e2abfd326f]70//! Full version of TSPSG in the form: \c major.minor.release.build \c status.
71#define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE BUILD_STATUS)
[430bd7f7e9]72
73#endif // VERSION_H
Note: See TracBrowser for help on using the repository browser.