-
Notifications
You must be signed in to change notification settings - Fork 21
/
version.h.in
48 lines (42 loc) · 1.55 KB
/
version.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
* MRChem, a numerical real-space code for molecular electronic structure
* calculations within the self-consistent field (SCF) approximations of quantum
* chemistry (Hartree-Fock and Density Functional Theory).
* Copyright (C) 2023 Stig Rune Jensen, Luca Frediani, Peter Wind and contributors.
*
* This file is part of MRChem.
*
* MRChem is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* MRChem is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with MRChem. If not, see <https://www.gnu.org/licenses/>.
*
* For information on the complete list of contributors to MRChem, see:
* <https://mrchem.readthedocs.io/>
*/
#pragma once
namespace mrchem {
inline constexpr auto program_version() noexcept {
return "@MRCHEM_VERSION@";
}
inline constexpr auto git_commit_hash() noexcept {
return "@_git_last_commit_hash@";
}
inline constexpr auto git_commit_author() noexcept {
return "@_git_last_commit_author@";
}
inline constexpr auto git_commit_date() noexcept {
return "@_git_last_commit_date@";
}
inline constexpr auto git_branch() noexcept {
return "@_git_branch@";
}
} // namespace mrchem