Debian Codegraph @

src/atlas/library/version.h.in

raw
1 /*
2 * (C) Copyright 2013 ECMWF.
3 *
4 * This software is licensed under the terms of the Apache Licence Version 2.0
5 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6 * In applying this licence, ECMWF does not waive the privileges and immunities
7 * granted to it by virtue of its status as an intergovernmental organisation
8 * nor does it submit to any jurisdiction.
9 */
10
11 #pragma once
12
13 namespace atlas {
14 namespace library {
15
16 constexpr const char* version() {
17 return "@atlas_VERSION_STR@";
18 }
19
20 constexpr const char* semantic_version() {
21 return "@atlas_VERSION@";
22 }
23
24 constexpr long semantic_version_major() {
25 return @atlas_VERSION_MAJOR@;
26 }
27
28 constexpr long semantic_version_minor() {
29 return @atlas_VERSION_MINOR@;
30 }
31
32 constexpr long semantic_version_patch() {
33 return @atlas_VERSION_PATCH@;
34 }
35
36 }
37 }