File include/brisk/core/Version.hpp
¶
version
variable¶
extern const std::string_view version
A constant representing the version of the Brisk library.
This constant holds the version of the Brisk library as a string view in the format "major.minor.patch-metadata". For example, "0.9.1-alpha".
buildInfo
variable¶
extern const std::string_view buildInfo
A constant containing detailed build information of the Brisk library.
This string includes various pieces of build metadata, such as the operating system, compiler version, standard library version, and specific flags used during the build.
The buildInfo string is composed dynamically, depending on the system and compiler used for building. It may contain details like: - OS name - Compiler version (Clang, MSVC, GCC) - C++ standard library version - Platform-specific versions (Windows, Android) - Debugging and exception flags - Date of build
Example output:
OS=Linux; Clang=10.0.0; GNUC=9.3.0; GLIBC=2.31; FLAGS=[D]; BUILT_ON=Sep 23 2024
Auto-generated from sources, Revision , https://github.com/brisklib/brisk/blob//include/brisk/