mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer (MSVC): Move copy plugin step into VST2 codepath
This commit is contained in:
parent
96e4ba06af
commit
59ca34daaf
1 changed files with 12 additions and 7 deletions
|
|
@ -1910,17 +1910,22 @@ public:
|
|||
const auto pkgScript = copyBuildOutputIntoBundle (segments);
|
||||
const auto copyScript = copyBundleToInstallDirectory (segments, config.getBinaryPath (Ids::vst3BinaryLocation, arch));
|
||||
|
||||
const auto binCopyScript = config.isPluginBinaryCopyStepEnabled()
|
||||
? MSVCScriptBuilder{}.append ("copy /Y \"$(OutDir)$(TargetFileName)\" \""
|
||||
+ config.getBinaryPath (Ids::vstBinaryLocation, arch)
|
||||
+ "\\$(TargetFileName)\"")
|
||||
: MSVCScriptBuilder{};
|
||||
|
||||
return MSVCScriptBuilder{}
|
||||
.append (pkgScript)
|
||||
.append (manifestScript)
|
||||
.append (copyScript)
|
||||
.append (binCopyScript)
|
||||
.build();
|
||||
}
|
||||
|
||||
if (type == VSTPlugIn && config.isPluginBinaryCopyStepEnabled())
|
||||
{
|
||||
const String copyCommand = "copy /Y \"$(OutDir)$(TargetFileName)\" \""
|
||||
+ config.getBinaryPath (Ids::vstBinaryLocation, arch)
|
||||
+ "\\$(TargetFileName)\"";
|
||||
|
||||
return MSVCScriptBuilder{}
|
||||
.mkdir (config.getBinaryPath (Ids::vstBinaryLocation, arch).quoted())
|
||||
.append (copyCommand)
|
||||
.build();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue