12 #ifndef PLSSVM_VERSION_VERSION_HPP_
13 #define PLSSVM_VERSION_VERSION_HPP_
18 #include <string_view>
26 constexpr std::string_view
name =
"PLSSVM - Parallel Least Squares Support Vector Machine";
32 constexpr std::string_view
version =
"2.0.0";
63 constexpr std::string_view
copyright_notice =
"Copyright(C) 2018-today The PLSSVM project - All Rights Reserved\n"
64 "This is free software distributed under the MIT license; see the source for more information.";
81 [[nodiscard]] std::string
get_version_info(std::string_view executable_name,
bool with_backend_info =
true);
Namespace containing versioning information.
Definition: core.hpp:39
constexpr int minor
The current minor version of the library.
Definition: version.hpp:44
constexpr int patch
The current patch version of the library.
Definition: version.hpp:50
constexpr std::string_view version
The current version of the library in the form: "major.minor.patch".
Definition: version.hpp:32
constexpr std::string_view name
The name of the library.
Definition: version.hpp:26
constexpr int major
The current major version of the library.
Definition: version.hpp:38
constexpr std::string_view target_platforms
The provided target platforms to use.
Definition: version.hpp:58
constexpr std::string_view copyright_notice
The copyright notice of the PLSSVM library.
Definition: version.hpp:63
std::optional< std::string > get_git_info()
Special git information used in the --version message.
std::string get_version_info(std::string_view executable_name, bool with_backend_info=true)
The full content used for the --version message.