/
version.hpp
71 lines (50 loc) · 2.15 KB
/
version.hpp
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// Copyright (c) 2007-2013 Hartmut Kaiser
// Copyright (c) 2011 Bryce Lelbach
// Copyright (c) 2013 Adrian Serio
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include <hpx/config.hpp>
#include <cstdint>
#include <string>
///////////////////////////////////////////////////////////////////////////////
namespace hpx {
// Returns the major HPX version.
HPX_CORE_EXPORT std::uint8_t major_version();
// Returns the minor HPX version.
HPX_CORE_EXPORT std::uint8_t minor_version();
// Returns the sub-minor/patch-level HPX version.
HPX_CORE_EXPORT std::uint8_t subminor_version();
// Returns the full HPX version.
HPX_CORE_EXPORT std::uint32_t full_version();
// Returns the full HPX version.
HPX_CORE_EXPORT std::string full_version_as_string();
// Returns the AGAS subsystem version.
HPX_CORE_EXPORT std::uint8_t agas_version();
// Returns the tag.
HPX_CORE_EXPORT std::string tag();
// Returns the HPX full build information string.
HPX_CORE_EXPORT std::string full_build_string();
// Returns the HPX version string.
HPX_CORE_EXPORT std::string build_string();
// Returns the Boost version string.
HPX_CORE_EXPORT std::string boost_version();
// Returns the Boost platform string.
HPX_CORE_EXPORT std::string boost_platform();
// Returns the Boost compiler string.
HPX_CORE_EXPORT std::string boost_compiler();
// Returns the Boost standard library string.
HPX_CORE_EXPORT std::string boost_stdlib();
// Returns the copyright string.
HPX_CORE_EXPORT std::string copyright();
// Returns the full version string.
HPX_CORE_EXPORT std::string complete_version();
// Returns the HPX build type ('Debug', 'Release', etc.)
HPX_CORE_EXPORT std::string build_type();
// Returns the HPX build date and time
HPX_CORE_EXPORT std::string build_date_time();
// Return the HPX configuration information
HPX_CORE_EXPORT std::string configuration_string();
} // namespace hpx