Beispiel #1
0
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;
}
Beispiel #2
0
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;
}
Beispiel #3
0
StringArray ProjectExporter::BuildConfiguration::getLibrarySearchPaths() const
{
    return getSearchPathsFromString (getLibrarySearchPathString());
}