The Battle for Wesnoth  1.15.5+dev
Namespaces | Macros | Functions
build_info.cpp File Reference
#include "build_info.hpp"
#include "desktop/version.hpp"
#include "game_config.hpp"
#include "filesystem.hpp"
#include "formatter.hpp"
#include "gettext.hpp"
#include "serialization/unicode.hpp"
#include "game_version.hpp"
#include "sound.hpp"
#include "video.hpp"
#include "addon/manager.hpp"
#include <algorithm>
#include <fstream>
#include <iomanip>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_mixer.h>
#include <SDL2/SDL_ttf.h>
#include <boost/algorithm/string.hpp>
#include <boost/version.hpp>
#include <openssl/crypto.h>
#include <openssl/opensslv.h>
#include <pango/pangocairo.h>
Include dependency graph for build_info.cpp:

Go to the source code of this file.

Namespaces

 game_config
 Game configuration data as global variables.
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 

Functions

std::vector< optional_feature > game_config::optional_features_table ()
 Return a localized features table. 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::dist_channel_id ()
 Return the distribution channel identifier, or "Default" if missing. 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::optional_features_report ()
 Produce a plain-text report of features suitable for stdout/stderr. More...
 
std::string game_config::full_build_report ()
 Produce a bug report-style info dump. More...
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file build_info.cpp.

Variable Documentation

◆ compiled

std::vector<std::string> compiled

Definition at line 62 of file build_info.cpp.

◆ contents_

contents_list contents_
private

Definition at line 409 of file build_info.cpp.

Referenced by game_config::dist_channel_id().

◆ features

std::vector<optional_feature> features

Definition at line 63 of file build_info.cpp.

◆ heading_

std::string heading_
private

Definition at line 406 of file build_info.cpp.

Referenced by game_config::dist_channel_id().

◆ heading_delimiter

const char heading_delimiter
staticprivate

Definition at line 403 of file build_info.cpp.

◆ label_delimiter

const std::string label_delimiter
staticprivate

Definition at line 404 of file build_info.cpp.

◆ linked

std::vector<std::string> linked

Definition at line 62 of file build_info.cpp.

◆ names

std::vector<std::string> names

◆ placeholder_

std::string placeholder_
private

Definition at line 407 of file build_info.cpp.

Referenced by game_config::dist_channel_id().