The Battle for Wesnoth  1.19.0-dev
Classes | Namespaces | Enumerations | Functions
build_info.hpp File Reference
#include <string>
#include <vector>
Include dependency graph for build_info.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  game_config::optional_feature
 

Namespaces

 game_config
 Game configuration data as global variables.
 

Enumerations

enum  game_config::LIBRARY_ID {
  game_config::LIB_BOOST , game_config::LIB_LUA , game_config::LIB_CRYPTO , game_config::LIB_CURL ,
  game_config::LIB_CAIRO , game_config::LIB_PANGO , game_config::LIB_SDL , game_config::LIB_SDL_IMAGE ,
  game_config::LIB_SDL_MIXER , game_config::LIB_COUNT
}
 

Functions

std::string game_config::build_arch ()
 Obtain the processor architecture for this build. More...
 
std::vector< optional_feature > game_config::optional_features_table (bool localize=true)
 Retrieve the features table. More...
 
std::string game_config::optional_features_report ()
 Produce a plain-text report of features suitable for stdout/stderr. More...
 
std::string game_config::dist_channel_id ()
 Return the distribution channel identifier, or "Default" if missing. More...
 
const std::string & game_config::library_build_version (LIBRARY_ID lib)
 Retrieve the build-time version number of the given library. More...
 
const std::string & game_config::library_runtime_version (LIBRARY_ID lib)
 Retrieve the runtime version number of the given library. More...
 
const std::string & game_config::library_name (LIBRARY_ID lib)
 Retrieve the user-visible name for the given library. More...
 
std::string game_config::library_versions_report ()
 Produce a plain-text report of library versions suitable for stdout/stderr. More...
 
std::string game_config::full_build_report ()
 Produce a bug report-style info dump. More...