| 
							- <?xml version="1.0" encoding="UTF-8"?>
 - 
 - <JUCERPROJECT id="CbHSoe" name="MultiOutSynth" projectType="audioplug" version="1.0.0"
 -               bundleIdentifier="com.ROLI.MultiOutSynth" includeBinaryInAppConfig="1"
 -               buildVST="1" buildVST3="1" buildAU="1" buildRTAS="0" buildAAX="1"
 -               pluginName="MultiOutSynth" pluginDesc="MultiOutSynth" pluginManufacturer="ROLI Ltd."
 -               pluginManufacturerCode="ROLI" pluginCode="MoSy" pluginChannelConfigs=""
 -               pluginIsSynth="1" pluginWantsMidiIn="1" pluginProducesMidiOut="0"
 -               pluginSilenceInIsSilenceOut="0" pluginEditorRequiresKeys="0"
 -               pluginAUExportPrefix="MultiOutSynthAU" pluginRTASCategory=""
 -               aaxIdentifier="com.ROLI.MultiOutSynth" pluginAAXCategory="AAX_ePlugInCategory_SWGenerators"
 -               jucerVersion="4.1.0" companyName="ROLI Ltd." companyWebsite="www.roli.com"
 -               companyEmail="info@juce.com" pluginIsMidiEffectPlugin="0">
 -   <MAINGROUP id="uGSDhi" name="MultiOutSynth">
 -     <GROUP id="{78464AFF-72EB-5BDD-4FD3-6C8C6CF5DFA3}" name="Source">
 -       <GROUP id="{A6DFE970-77F1-27E9-9B49-A42BC96FECDB}" name="BinaryData">
 -         <FILE id="NUiTXm" name="singing.ogg" compile="0" resource="1" file="Source/BinaryData/singing.ogg"/>
 -       </GROUP>
 -       <FILE id="PCZaNQ" name="MultiOutSynth.cpp" compile="1" resource="0"
 -             file="Source/MultiOutSynth.cpp"/>
 -     </GROUP>
 -   </MAINGROUP>
 -   <EXPORTFORMATS>
 -     <XCODE_MAC targetFolder="Builds/MacOSX" postbuildCommand="
# This script takes the build product and copies it to the AU, VST, VST3, RTAS and AAX folders, depending on 
# which plugin types you've built

original=$CONFIGURATION_BUILD_DIR/$FULL_PRODUCT_NAME

# this looks inside the binary to detect which platforms are needed.. 
copyAU=`nm -g "$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH" | grep -i 'AudioUnit' | wc -l`
copyVST=`nm -g "$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH" | grep -i 'VSTPlugin' | wc -l`
copyVST3=`nm -g "$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH" | grep -i 'GetPluginFactory' | wc -l`
copyRTAS=`nm -g "$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH" | grep -i 'CProcess' | wc -l`
copyAAX=`nm -g "$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH" | grep -i 'ACFStartup' | wc -l`

if [ $copyAU -gt 0 ]; then
  echo "Copying to AudioUnit folder..."
  AUDir=~/Library/Audio/Plug-Ins/Components
  mkdir -p "$AUDir"
  AU=$AUDir/$PRODUCT_NAME.component
  if [ -d "$AU" ]; then 
    rm -r "$AU"
  fi

  cp -r "$original" "$AU"
  sed -i "" -e 's/TDMwPTul/BNDLPTul/g' "$AU/Contents/PkgInfo"
  sed -i "" -e 's/TDMw/BNDL/g' "$AU/Contents/$INFOPLIST_FILE"
fi

if [ $copyVST -gt 0 ]; then
  echo "Copying to VST folder..."
  VSTDir=~/Library/Audio/Plug-Ins/VST
  mkdir -p "$VSTDir"
  VST=$VSTDir/$PRODUCT_NAME.vst
  if [ -d "$VST" ]; then 
    rm -r "$VST"
  fi

  cp -r "$original" "$VST"
  sed -i "" -e 's/TDMwPTul/BNDLPTul/g' "$VST/Contents/PkgInfo"
  sed -i "" -e 's/TDMw/BNDL/g' "$VST/Contents/$INFOPLIST_FILE"
fi

if [ $copyVST3 -gt 0 ]; then
  echo "Copying to VST3 folder..."
  VST3Dir=~/Library/Audio/Plug-Ins/VST3
  mkdir -p "$VST3Dir"
  VST3=$VST3Dir/$PRODUCT_NAME.vst3
  if [ -d "$VST3" ]; then 
    rm -r "$VST3"
  fi

  cp -r "$original" "$VST3"
  sed -i "" -e 's/TDMwPTul/BNDLPTul/g' "$VST3/Contents/PkgInfo"
  sed -i "" -e 's/TDMw/BNDL/g' "$VST3/Contents/$INFOPLIST_FILE"
fi

if [ $copyRTAS -gt 0 ]; then
  echo "Copying to RTAS folder..."
  RTASDir=/Library/Application\ Support/Digidesign/Plug-Ins
  if [ -d "$RTASDir" ]; then
    RTAS=$RTASDir/$PRODUCT_NAME.dpm
    if [ -d "$RTAS" ]; then
      rm -r "$RTAS"
    fi

    cp -r "$original" "$RTAS"
  fi
fi

if [ $copyAAX -gt 0 ]; then
  echo "Copying to AAX folder..."

  if [ -d "/Applications/ProTools_3PDev/Plug-Ins" ]; then
    AAX1="/Applications/ProTools_3PDev/Plug-Ins/$PRODUCT_NAME.aaxplugin"

    if [ -d "$AAX1" ]; then
      rm -r "$AAX1"
    fi

    cp -R -H "$original" "$AAX1"
  fi

  if [ -d "/Library/Application Support/Avid/Audio/Plug-Ins" ]; then
    AAX2="/Library/Application Support/Avid/Audio/Plug-Ins/$PRODUCT_NAME.aaxplugin"

    if [ -d "$AAX2" ]; then
      rm -r "$AAX2"
    fi

    cp -R -H "$original" "$AAX2"
  fi
fi
"
 -                vst3Folder="" extraCompilerFlags="-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter -Wconversion -Wsign-compare -Wint-conversion -Woverloaded-virtual -Wreorder -Wconstant-conversion -Wsign-conversion">
 -       <CONFIGURATIONS>
 -         <CONFIGURATION name="Debug" osxSDK="default" osxCompatibility="default" osxArchitecture="default"
 -                        isDebug="1" optimisation="1" targetName="MultiOutSynth"/>
 -         <CONFIGURATION name="Release" osxSDK="default" osxCompatibility="default" osxArchitecture="default"
 -                        isDebug="0" optimisation="3" targetName="MultiOutSynth"/>
 -       </CONFIGURATIONS>
 -       <MODULEPATHS>
 -         <MODULEPATH id="juce_core" path="../../../modules"/>
 -         <MODULEPATH id="juce_events" path="../../../modules"/>
 -         <MODULEPATH id="juce_graphics" path="../../../modules"/>
 -         <MODULEPATH id="juce_data_structures" path="../../../modules"/>
 -         <MODULEPATH id="juce_gui_basics" path="../../../modules"/>
 -         <MODULEPATH id="juce_gui_extra" path="../../../modules"/>
 -         <MODULEPATH id="juce_cryptography" path="../../../modules"/>
 -         <MODULEPATH id="juce_video" path="../../../modules"/>
 -         <MODULEPATH id="juce_opengl" path="../../../modules"/>
 -         <MODULEPATH id="juce_audio_basics" path="../../../modules"/>
 -         <MODULEPATH id="juce_audio_devices" path="../../../modules"/>
 -         <MODULEPATH id="juce_audio_formats" path="../../../modules"/>
 -         <MODULEPATH id="juce_audio_processors" path="../../../modules"/>
 -         <MODULEPATH id="juce_audio_plugin_client" path="../../../modules"/>
 -       </MODULEPATHS>
 -     </XCODE_MAC>
 -     <VS2015 targetFolder="Builds/VisualStudio2015">
 -       <CONFIGURATIONS>
 -         <CONFIGURATION name="Debug" winWarningLevel="4" generateManifest="1" winArchitecture="32-bit"
 -                        isDebug="1" optimisation="1" targetName="MultiOutSynth"/>
 -         <CONFIGURATION name="Release" winWarningLevel="4" generateManifest="1" winArchitecture="32-bit"
 -                        isDebug="0" optimisation="3" targetName="MultiOutSynth"/>
 -       </CONFIGURATIONS>
 -       <MODULEPATHS>
 -         <MODULEPATH id="juce_video" path="../../../modules"/>
 -         <MODULEPATH id="juce_opengl" path="../../../modules"/>
 -         <MODULEPATH id="juce_gui_extra" path="../../../modules"/>
 -         <MODULEPATH id="juce_gui_basics" path="../../../modules"/>
 -         <MODULEPATH id="juce_graphics" path="../../../modules"/>
 -         <MODULEPATH id="juce_events" path="../../../modules"/>
 -         <MODULEPATH id="juce_data_structures" path="../../../modules"/>
 -         <MODULEPATH id="juce_cryptography" path="../../../modules"/>
 -         <MODULEPATH id="juce_core" path="../../../modules"/>
 -         <MODULEPATH id="juce_audio_processors" path="../../../modules"/>
 -         <MODULEPATH id="juce_audio_plugin_client" path="../../../modules"/>
 -         <MODULEPATH id="juce_audio_formats" path="../../../modules"/>
 -         <MODULEPATH id="juce_audio_devices" path="../../../modules"/>
 -         <MODULEPATH id="juce_audio_basics" path="../../../modules"/>
 -       </MODULEPATHS>
 -     </VS2015>
 -   </EXPORTFORMATS>
 -   <MODULES>
 -     <MODULE id="juce_audio_basics" showAllCode="1" useLocalCopy="0"/>
 -     <MODULE id="juce_audio_devices" showAllCode="1" useLocalCopy="0"/>
 -     <MODULE id="juce_audio_formats" showAllCode="1" useLocalCopy="0"/>
 -     <MODULE id="juce_audio_plugin_client" showAllCode="1" useLocalCopy="0"/>
 -     <MODULE id="juce_audio_processors" showAllCode="1" useLocalCopy="0"/>
 -     <MODULE id="juce_core" showAllCode="1" useLocalCopy="0"/>
 -     <MODULE id="juce_cryptography" showAllCode="1" useLocalCopy="0"/>
 -     <MODULE id="juce_data_structures" showAllCode="1" useLocalCopy="0"/>
 -     <MODULE id="juce_events" showAllCode="1" useLocalCopy="0"/>
 -     <MODULE id="juce_graphics" showAllCode="1" useLocalCopy="0"/>
 -     <MODULE id="juce_gui_basics" showAllCode="1" useLocalCopy="0"/>
 -     <MODULE id="juce_gui_extra" showAllCode="1" useLocalCopy="0"/>
 -     <MODULE id="juce_opengl" showAllCode="1" useLocalCopy="0"/>
 -     <MODULE id="juce_video" showAllCode="1" useLocalCopy="0"/>
 -   </MODULES>
 -   <JUCEOPTIONS JUCE_QUICKTIME="disabled"/>
 - </JUCERPROJECT>
 
 
  |