Browse Source

Projucer: Fix VST3 and LV2 manifest helper paths in Xcode when using relative module paths

Even without this change the helpers would build correctly, but Xcode
would be unable to open them in the GUI and present them in red letters.
v7.0.12
attila Attila Szarvas 2 years ago
parent
commit
03947a2646
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h

+ 2
- 2
extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h View File

@@ -2220,7 +2220,7 @@ private:
&& project.getEnabledModules().isModuleEnabled ("juce_audio_plugin_client"))
{
const auto path = rebaseFromProjectFolderToBuildTarget (getLV2HelperProgramSource());
addFile (FileOptions().withRelativePath ({ expandPath (path.toUnixStyle()), path.getRoot() })
addFile (FileOptions().withRelativePath ({ path.toUnixStyle(), path.getRoot() })
.withSkipPCHEnabled (true)
.withCompilationEnabled (true)
.withInhibitWarningsEnabled (true)
@@ -2232,7 +2232,7 @@ private:
&& project.getEnabledModules().isModuleEnabled ("juce_audio_plugin_client"))
{
const auto path = rebaseFromProjectFolderToBuildTarget (getVST3HelperProgramSource());
addFile (FileOptions().withRelativePath ({ expandPath (path.toUnixStyle()), path.getRoot() })
addFile (FileOptions().withRelativePath ({ path.toUnixStyle(), path.getRoot() })
.withSkipPCHEnabled (true)
.withCompilationEnabled (true)
.withInhibitWarningsEnabled (true)


Loading…
Cancel
Save