Browse Source

Introjucer OSX RTAS fix.

tags/2021-05-28
jules 13 years ago
parent
commit
8c00299f8d
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      extras/Introjucer/Source/Project/jucer_AudioPluginModule.h

+ 5
- 3
extras/Introjucer/Source/Project/jucer_AudioPluginModule.h View File

@@ -307,9 +307,10 @@ namespace RTASHelpers
exporter.msvcTargetSuffix = ".dpm";
exporter.msvcNeedsDLLRuntimeLib = true;
RelativePath rtasFolder (getRTASFolderRelativePath (exporter));
exporter.msvcExtraPreprocessorDefs.set ("JucePlugin_WinBag_path", CodeHelpers::addEscapeChars (rtasFolder.getChildFile ("WinBag")
.toWindowsStyle()).quoted());
exporter.msvcExtraPreprocessorDefs.set ("JucePlugin_WinBag_path",
CodeHelpers::addEscapeChars (getRTASFolderRelativePath (exporter)
.getChildFile ("WinBag")
.toWindowsStyle()).quoted());
String msvcPathToRTASFolder (exporter.getJucePathFromTargetFolder()
.getChildFile ("juce_audio_plugin_client/RTAS")
@@ -332,6 +333,7 @@ namespace RTASHelpers
}
}
RelativePath rtasFolder (getRTASFolder (exporter).toString(), RelativePath::projectFolder);
exporter.xcodeExtraLibrariesDebug.add (rtasFolder.getChildFile ("MacBag/Libs/Debug/libPluginLibrary.a"));
exporter.xcodeExtraLibrariesRelease.add (rtasFolder.getChildFile ("MacBag/Libs/Release/libPluginLibrary.a"));


Loading…
Cancel
Save