gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-252-gf9a3f78
a Global And Modular Bsm Inference Tool
version.hpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
16 
17 #ifndef __version_hpp__
18 #define __version_hpp__
19 
21 #include "gambit/cmake/cmake_variables.hpp"
22 
23 namespace Gambit
24 {
25 
26  #ifdef GAMBIT_VERSION_MAJOR
27  const int gambit_version_major = GAMBIT_VERSION_MAJOR;
28  #else
29  const int gambit_version_major = 0;
30  #endif
31 
32  #ifdef GAMBIT_VERSION_MINOR
33  const int gambit_version_minor = GAMBIT_VERSION_MINOR;
34  #else
35  const int gambit_version_minor = 0;
36  #endif
37 
38  #ifdef GAMBIT_VERSION_REVISION
39  const int gambit_version_revision = GAMBIT_VERSION_REVISION;
40  #else
41  const int gambit_version_revision = 0;
42  #endif
43 
44  #ifdef GAMBIT_VERSION_PATCH
45  const str gambit_version_patch = GAMBIT_VERSION_PATCH;
46  #else
47  const str gambit_version_patch = "";
48  #endif
49 
50  const int gambit_version_int = 10000*gambit_version_major + 100*gambit_version_minor + gambit_version_revision;
51 
53 
54 }
55 
56 #endif // defined __version_hpp__
const int gambit_version_revision
Definition: version.hpp:41
General small utility classes, typedefs, etc.
const int gambit_version_int
Definition: version.hpp:50
const int gambit_version_minor
Definition: version.hpp:35
str & gambit_version()
Statically construct a string containing the full GAMBIT version information and return a reference t...
Definition: version.cpp:32
std::string str
Shorthand for a standard string.
Definition: Analysis.hpp:35
const int gambit_version_major
Definition: version.hpp:29
const str gambit_version_patch
Definition: version.hpp:47
TODO: see if we can use this one:
Definition: Analysis.hpp:33