StringArray ProjectExporter::BuildConfiguration::getLibrarySearchPaths() const { auto separator = exporter.isVisualStudio() ? "\\" : "/"; auto s = getSearchPathsFromString (getLibrarySearchPathString()); for (auto path : exporter.moduleLibSearchPaths) s.add (path + separator + getLibrarySubdirPath()); return s; }
String ProjectExporter::BuildConfiguration::getGCCLibraryPathFlags() const { String s; const auto libraryPaths = getSearchPathsFromString (getLibrarySearchPathString()); for (auto path : libraryPaths) s << " -L" << escapeSpaces (path).replace ("~", "$(HOME)"); for (auto path : exporter.moduleLibSearchPaths) s << " -L" << escapeSpaces (path).replace ("~", "$(HOME)") << "/" << getLibrarySubdirPath(); return s; }
StringArray ProjectExporter::BuildConfiguration::getLibrarySearchPaths() const { return getSearchPathsFromString (getLibrarySearchPathString()); }