1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-31 03:00:05 +00:00

Cleaned up some code in recent commits in the Projucer's XCode exporter

This commit is contained in:
hogliux 2017-03-05 18:03:33 +00:00
parent 2963805a27
commit e59a81dd9c

View file

@ -604,8 +604,6 @@ public:
xcodeBundleExtension = ".dpm";
xcodeProductType = "com.apple.product-type.bundle";
xcodeCopyToProductInstallPathAfterBuild = true;
addExtraRTASTargetSettings();
break;
case SharedCodeTarget:
@ -1320,6 +1318,13 @@ public:
extraLibs.add (aaxLibsFolder.getChildFile (libraryPath));
}
else if (type == RTASPlugIn)
{
RelativePath rtasFolder (owner.getRTASPathValue().toString(), RelativePath::projectFolder);
extraLibs.add (rtasFolder.getChildFile ("MacBag/Libs/Debug/libPluginLibrary.a"));
extraLibs.add (rtasFolder.getChildFile ("MacBag/Libs/Release/libPluginLibrary.a"));
}
}
StringArray getTargetExtraHeaderSearchPaths() const
@ -1370,14 +1375,6 @@ public:
return targetExtraSearchPaths;
}
void addExtraRTASTargetSettings()
{
RelativePath rtasFolder (owner.getRTASPathValue().toString(), RelativePath::projectFolder);
xcodeExtraLibrariesDebug.add (rtasFolder.getChildFile ("MacBag/Libs/Debug/libPluginLibrary.a"));
xcodeExtraLibrariesRelease.add (rtasFolder.getChildFile ("MacBag/Libs/Release/libPluginLibrary.a"));
}
bool isUsingClangCppLibrary (const BuildConfiguration& config) const
{
if (auto xcodeConfig = dynamic_cast<const XcodeBuildConfiguration*> (&config))