Player12
An open source football management simulator
Loading...
Searching...
No Matches
BuildInfo Namespace Reference

Functions

std::string_view version ()
 
std::string_view commit ()
 
std::string_view configuration ()
 
std::string_view compiler ()
 
std::string_view platform ()
 
std::string summary ()
 

Detailed Description

What was built and how: shown in the main menu and in crash reports.

Function Documentation

◆ commit()

std::string_view BuildInfo::commit ( )

Short commit hash the build was configured from, or "unknown".

◆ compiler()

std::string_view BuildInfo::compiler ( )

Compiler name and version, e.g. "GCC 14.2.0".

◆ configuration()

std::string_view BuildInfo::configuration ( )

Build configuration, e.g. "Release".

◆ platform()

std::string_view BuildInfo::platform ( )

Target platform, e.g. "linux-x86_64".

◆ summary()

std::string BuildInfo::summary ( )

One line with everything above, for logs and crash reports.

◆ version()

std::string_view BuildInfo::version ( )

Game version without a leading "v", e.g. "1.0.0".