TrinityCore
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

◆ GetBuildDirectory()

std::string BuiltInConfig::GetBuildDirectory ( )

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

Definition at line 36 of file BuiltInConfig.cpp.

+ Here is the call graph for this function:

◆ GetCMakeCommand()

std::string BuiltInConfig::GetCMakeCommand ( )

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

Definition at line 30 of file BuiltInConfig.cpp.

+ Here is the call graph for this function:

◆ GetMySQLExecutable()

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

Definition at line 48 of file BuiltInConfig.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSourceDirectory()

std::string BuiltInConfig::GetSourceDirectory ( )

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

Definition at line 42 of file BuiltInConfig.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: