Cbeam
Loading...
Searching...
No Matches
version.hpp
Go to the documentation of this file.
1
/*
2
Copyright (c) 2025 acrion innovations GmbH
3
Authors: Stefan Zipproth, s.zipproth@acrion.ch
4
5
This file is part of Cbeam, see https://github.com/acrion/cbeam and https://cbeam.org
6
7
Cbeam is offered under a commercial and under the AGPL license.
8
For commercial licensing, contact us at https://acrion.ch/sales. For AGPL licensing, see below.
9
10
AGPL licensing:
11
12
Cbeam is free software: you can redistribute it and/or modify
13
it under the terms of the GNU Affero General Public License as published by
14
the Free Software Foundation, either version 3 of the License, or
15
(at your option) any later version.
16
17
Cbeam is distributed in the hope that it will be useful,
18
but WITHOUT ANY WARRANTY; without even the implied warranty of
19
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
GNU Affero General Public License for more details.
21
22
You should have received a copy of the GNU Affero General Public License
23
along with Cbeam. If not, see <https://www.gnu.org/licenses/>.
24
*/
25
26
#pragma once
27
28
#ifdef USING_CMAKE
29
#include "version_generated.hpp"
30
#endif
31
32
#include <string>
33
34
namespace
cbeam
35
{
47
inline
std::string
get_version
()
48
{
49
#ifdef USING_CMAKE
50
return
CBEAM_VERSION;
51
#else
52
return
"0.0.0"
;
53
#endif
54
}
55
}
cbeam
The root namespace for the Cbeam library. This namespace unifies cross-platform utilities for concurr...
Definition
message_manager.hpp:47
cbeam::get_version
std::string get_version()
Returns the library version string, for example "1.2.3".
Definition
version.hpp:47
include
cbeam
version.hpp
Generated by
1.13.2