TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BuiltInConfig Namespace Reference

Functions

TC_COMMON_API std::string GetCMakeCommand ()
 
TC_COMMON_API std::string GetBuildDirectory ()
 
TC_COMMON_API std::string GetSourceDirectory ()
 
TC_COMMON_API std::string GetMySQLExecutable ()
 

Detailed Description

Provides helper functions to access built-in values which can be overwritten in config

Function Documentation

std::string BuiltInConfig::GetBuildDirectory ( )

Returns the build directory path when any is specified in the config, returns the built-in one otherwise

37 {
39  "BuildDirectory", GitRevision::GetBuildDirectory);
40 }
TC_COMMON_API char const * GetBuildDirectory()
Definition: GitRevision.cpp:24
static std::string GetStringWithDefaultValueFromFunction(std::string const &key, Fn getter)
Definition: BuiltInConfig.cpp:23

+ Here is the call graph for this function:

std::string BuiltInConfig::GetCMakeCommand ( )

Returns the CMake command when any is specified in the config, returns the built-in path otherwise

31 {
33  "CMakeCommand", GitRevision::GetCMakeCommand);
34 }
TC_COMMON_API char const * GetCMakeCommand()
Definition: GitRevision.cpp:19
static std::string GetStringWithDefaultValueFromFunction(std::string const &key, Fn getter)
Definition: BuiltInConfig.cpp:23

+ Here is the call graph for this function:

std::string BuiltInConfig::GetMySQLExecutable ( )

Returns the path to the mysql executable (mysql) when any is specified in the config, returns the built-in one otherwise

49 {
51  "MySQLExecutable", GitRevision::GetMySQLExecutable);
52 }
TC_COMMON_API char const * GetMySQLExecutable()
Definition: GitRevision.cpp:34
static std::string GetStringWithDefaultValueFromFunction(std::string const &key, Fn getter)
Definition: BuiltInConfig.cpp:23

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::string BuiltInConfig::GetSourceDirectory ( )

Returns the source directory path when any is specified in the config, returns the built-in one otherwise

43 {
45  "SourceDirectory", GitRevision::GetSourceDirectory);
46 }
TC_COMMON_API char const * GetSourceDirectory()
Definition: GitRevision.cpp:29
static std::string GetStringWithDefaultValueFromFunction(std::string const &key, Fn getter)
Definition: BuiltInConfig.cpp:23

+ Here is the call graph for this function:

+ Here is the caller graph for this function: