From 52afdcb2ff65bc643c34efccbda2927f30e506d5 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 20 Oct 2017 08:46:03 +0100 Subject: [PATCH] Projucer: Fixed a bug where plugin binary copy locations previously set in the Xcode exporter weren't being preserved --- .../Source/ProjectSaving/jucer_ProjectExport_Xcode.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h index baf52fa5fd..a7f4b2f6b2 100644 --- a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h +++ b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h @@ -418,6 +418,7 @@ protected: rtasBinaryLocation (config, Ids::rtasBinaryLocation, nullptr, "/Library/Application Support/Digidesign/Plug-Ins/"), aaxBinaryLocation (config, Ids::aaxBinaryLocation, nullptr, "/Library/Application Support/Avid/Audio/Plug-Ins/") { + updateOldPluginBinaryLocations(); } //========================================================================== @@ -534,6 +535,15 @@ protected: props.add (new TextWithDefaultPropertyComponent (aaxBinaryLocation, "AAX Binary location", 1024), "The folder in which the compiled AAX binary should be placed."); } + + void updateOldPluginBinaryLocations() + { + if (! config ["xcodeVstBinaryLocation"].isVoid()) vstBinaryLocation = config ["xcodeVstBinaryLocation"]; + if (! config ["xcodeVst3BinaryLocation"].isVoid()) vst3BinaryLocation = config ["xcodeVst3BinaryLocation"]; + if (! config ["xcodeAudioUnitBinaryLocation"].isVoid()) auBinaryLocation = config ["xcodeAudioUnitBinaryLocation"]; + if (! config ["xcodeRtasBinaryLocation"].isVoid()) rtasBinaryLocation = config ["xcodeRtasBinaryLocation"]; + if (! config ["xcodeAaxBinaryLocation"].isVoid()) aaxBinaryLocation = config ["xcodeAaxBinaryLocation"]; + } }; BuildConfiguration::Ptr createBuildConfig (const ValueTree& v) const override