| 32 | } |
| 33 | |
| 34 | std::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 | |
| 50 | std::string ApplicationContextBase::getLibraryBasePath() const |
| 51 | { |
no test coverage detected