1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-24 01:54:22 +00:00

Projucer: Only attempt building the standalone target of audio plug-ins when building inside the live build engine

This commit is contained in:
hogliux 2017-05-11 09:51:35 +01:00
parent 30c8f3f680
commit c4cf336a56
3 changed files with 23 additions and 9 deletions

View file

@ -434,6 +434,8 @@ private:
scanProjectItem (proj.getMainGroup(), compileUnits, userFiles);
{
const bool isPluginProject = proj.getProjectType().isAudioPlugin();
OwnedArray<LibraryModule> modules;
proj.getModules().createRequiredModules (modules);
@ -447,7 +449,13 @@ private:
? proj.getLocalModuleFolder (m->moduleInfo.getID())
: m->moduleInfo.getFolder();
m->findAndAddCompiledUnits (*exporter, nullptr, compileUnits);
m->findAndAddCompiledUnits (*exporter, nullptr, compileUnits,
isPluginProject ? ProjectType::Target::SharedCodeTarget
: ProjectType::Target::unspecified);
if (isPluginProject)
m->findAndAddCompiledUnits (*exporter, nullptr, compileUnits, ProjectType::Target::StandalonePlugIn);
}
break;