ampsci
High-precision calculations for one- and two-valence atomic systems
version.hpp
1#pragma once
2#include <string>
3
4// Manually define major/minor ampsci versions
5#define AMPSCI_VERSION "0.0"
6#define AMPSCI_MAJOR_VERSION 0
7#define AMPSCI_MINOR_VERSION 0
8
9//==============================================================================
10//! Information about the ampsci code (version, compiler etc.).
11/*! @details Defines the macros:
12AMPSCI_VERSION, AMPSCI_MAJOR_VERSION, AMPSCI_MINOR_VERSION
13(defined in version.hpp).
14Also, defines macros: GITBRANCH, GITREVISION, GITMODIFIED, CXXVERSION, COMPTIME
15These should be set using compil flags (-D) on compilation.
16*/
17namespace version {
18
19//! String with version info, including git branch/revision, and if any files
20//! have been modified since the last commit
21std::string version();
22
23//! String with compilation info, including which compiler was used and the time
24//! of compilation
25std::string compiled();
26
27//! String continaing details (version numbers) of libraries (e.g., GSL)
28std::string libraries();
29
30} // namespace version
Information about the ampsci code (version, compiler etc.).
Definition version.cpp:42
std::string compiled()
String with compilation info, including which compiler was used and the time of compilation.
Definition version.cpp:62
std::string libraries()
String continaing details (version numbers) of libraries (e.g., GSL)
Definition version.cpp:64
std::string version()
String with version info, including git branch/revision, and if any files have been modified since th...
Definition version.cpp:53