MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / getLibraryPaths

Method getLibraryPaths

libs/module/ApplicationContextBase.cpp:34–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34std::vector<std::string> ApplicationContextBase::getLibraryPaths() const
35{
36 auto libBasePath = os::standardPathWithSlash(getLibraryBasePath());
37
38#if defined(__APPLE__) && defined(DR_MODULES_NEXT_TO_APP)
39 // Xcode output goes to the application folder right now
40 return { libBasePath };
41#else
42 return
43 {
44 libBasePath + MODULES_DIR,
45 libBasePath + PLUGINS_DIR
46 };
47#endif
48}
49
50std::string ApplicationContextBase::getLibraryBasePath() const
51{

Callers 1

findCoreModuleMethod · 0.45

Calls 1

standardPathWithSlashFunction · 0.50

Tested by

no test coverage detected