vg
tools for working with variation graphs
|
Class for holding vg version and build environment information. More...
#include <version.hpp>
Static Public Member Functions | |
static string | get_version () |
Get only the version (like v1.7.0-68-g224e7625). More... | |
static string | get_release () |
static string | get_codename () |
Get the codename of our released version. More... | |
static string | get_short () |
Get a short one-line description of the current version of vg with no terminating newline. More... | |
static string | get_long () |
Static Public Attributes | |
const static string | VERSION = VG_GIT_VERSION |
The Git version description of this build of vg. More... | |
const static string | COMPILER = VG_COMPILER_VERSION |
The compiler used to build vg. More... | |
const static string | STANDARD_LIBRARY = VG_STANDARD_LIBRARY_VERSION |
const static string | OS = VG_OS |
The OS that vg was built on. More... | |
const static string | BUILD_USER = VG_BUILD_USER |
The user who built vg. More... | |
const static string | BUILD_HOST = VG_BUILD_HOST |
The host that built vg. More... | |
Private Member Functions | |
Version ()=delete | |
Static Private Attributes | |
const static unordered_map< string, string > | codenames |
Store all the codenames by major version. More... | |
Class for holding vg version and build environment information.
|
privatedelete |
|
static |
Get the codename of our released version.
|
static |
Get a long, potentially multi-line description of the current version of vg with no terminating newline.
|
static |
Get the release Git tag version of vg that the current version is based on (e.g. v1.7.0-68-g224e7625 will report v1.7.0).
|
static |
Get a short one-line description of the current version of vg with no terminating newline.
|
static |
Get only the version (like v1.7.0-68-g224e7625).
|
static |
The host that built vg.
|
static |
The user who built vg.
|
staticprivate |
Store all the codenames by major version.
|
static |
The compiler used to build vg.
|
static |
The OS that vg was built on.
|
static |
|
static |
The Git version description of this build of vg.