'Where is _CONF_DIR being loaded from?
newbie question, where is _CONF_DIR being loaded from in:
std::string const ConfigMgr::GetConfigPath()
{
std::lock_guard<std::mutex> lock(_configLock);
#if AC_PLATFORM == AC_PLATFORM_WINDOWS
return "configs/";
#else
return std::string(_CONF_DIR) + "/";
#endif
}
assumed it was an environment variable / cmd line variable but adding -D_CONF_DIR="..." doesn't seem to be doing anything; seems to be defaulting to /usr/local/etc
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|