The Battle for Wesnoth  1.15.2+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 <algorithm>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_mixer.h>
#include <SDL2/SDL_ttf.h>
#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::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 56 of file build_info.cpp.

Referenced by game_config::library_versions_report().

◆ features

std::vector<optional_feature> features

Definition at line 57 of file build_info.cpp.

Referenced by game_config::optional_features_report().

◆ linked

std::vector<std::string> linked

Definition at line 56 of file build_info.cpp.

Referenced by game_config::library_versions_report().

◆ names

std::vector<std::string> names