/* * Copyright (C) 2016+ AzerothCore , released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 * Copyright (C) 2021+ WarheadCore */ #ifndef BUILT_IN_CONFIG_H #define BUILT_IN_CONFIG_H #include "Define.h" #include /// Provides helper functions to access built-in values /// which can be overwritten in config namespace BuiltInConfig { /// Returns the CMake command when any is specified in the config, /// returns the built-in path otherwise AC_COMMON_API std::string GetCMakeCommand(); /// Returns the build directory path when any is specified in the config, /// returns the built-in one otherwise AC_COMMON_API std::string GetBuildDirectory(); /// Returns the source directory path when any is specified in the config, /// returns the built-in one otherwise AC_COMMON_API std::string GetSourceDirectory(); /// Returns the path to the mysql executable (`mysql`) when any is specified /// in the config, returns the built-in one otherwise AC_COMMON_API std::string GetMySQLExecutable(); } // namespace BuiltInConfig #endif // BUILT_IN_CONFIG_H