mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Fixed a bug where the live-build engine wasn't adding the VST3 SDK path to its header search paths when building the plugin host
This commit is contained in:
parent
bd3be54a70
commit
ca9d76cb68
1 changed files with 11 additions and 5 deletions
|
|
@ -434,7 +434,10 @@ private:
|
|||
scanProjectItem (proj.getMainGroup(), compileUnits, userFiles);
|
||||
|
||||
{
|
||||
const bool isPluginProject = proj.getProjectType().isAudioPlugin();
|
||||
auto isVST3Host = project.getModules().isModuleEnabled ("juce_audio_processors")
|
||||
&& project.isConfigFlagEnabled ("JUCE_PLUGINHOST_VST3");
|
||||
|
||||
auto isPluginProject = proj.getProjectType().isAudioPlugin();
|
||||
|
||||
OwnedArray<LibraryModule> modules;
|
||||
proj.getModules().createRequiredModules (modules);
|
||||
|
|
@ -451,10 +454,10 @@ private:
|
|||
|
||||
|
||||
m->findAndAddCompiledUnits (*exporter, nullptr, compileUnits,
|
||||
isPluginProject ? ProjectType::Target::SharedCodeTarget
|
||||
: ProjectType::Target::unspecified);
|
||||
isPluginProject || isVST3Host ? ProjectType::Target::SharedCodeTarget
|
||||
: ProjectType::Target::unspecified);
|
||||
|
||||
if (isPluginProject)
|
||||
if (isPluginProject || isVST3Host)
|
||||
m->findAndAddCompiledUnits (*exporter, nullptr, compileUnits, ProjectType::Target::StandalonePlugIn);
|
||||
}
|
||||
|
||||
|
|
@ -518,7 +521,10 @@ private:
|
|||
StringArray paths;
|
||||
paths.addArray (getSearchPathsFromString (ProjectProperties::getSystemHeaderPathString (project)));
|
||||
|
||||
if (project.getProjectType().isAudioPlugin())
|
||||
auto isVST3Host = project.getModules().isModuleEnabled ("juce_audio_processors")
|
||||
&& project.isConfigFlagEnabled ("JUCE_PLUGINHOST_VST3");
|
||||
|
||||
if (project.getProjectType().isAudioPlugin() || isVST3Host)
|
||||
paths.add (getAppSettings().getStoredPath (Ids::vst3Path).toString());
|
||||
|
||||
OwnedArray<LibraryModule> modules;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue