Esempio n. 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;
}
Esempio n. 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;
}
Esempio n. 3
0
StringArray ProjectExporter::BuildConfiguration::getLibrarySearchPaths() const
{
    return getSearchPathsFromString (getLibrarySearchPathString());
}