AnalogTapeModel

Physical modelling signal processing for analog tape recording
Log | Files | Refs | Submodules | README | LICENSE

commit b719dfcd48167e113a226f738d6ae67ecf695ea2
parent b2f3586d89c75b6dffcef8e392937e23c179768b
Author: jatinchowdhury18 <[email protected]>
Date:   Sat, 27 Feb 2021 15:27:12 -0800

Update build and install scripts

Diffstat:
MPlugin/CMakeLists.txt | 2+-
MPlugin/Installers/windows/ChowTapeModel_Install_Script.iss | 34+++++++++++++++++++++++++++++++---
MPlugin/modules/CMakeLists.txt | 1+
Mmac_builds.sh | 4++--
Mwin_builds.sh | 8+++++---
5 files changed, 40 insertions(+), 9 deletions(-)

diff --git a/Plugin/CMakeLists.txt b/Plugin/CMakeLists.txt @@ -8,7 +8,7 @@ include_directories(modules/RTNeural) # set up plugin project # juce_set_vst2_sdk_path(C:/SDKs/VST_SDK/VST2_SDK/) -# include_directories(C:/SDKs/asiosdk2.3/common) +# include_directories(ASIO_SDK) juce_add_plugin(CHOWTapeModel COMPANY_NAME chowdsp diff --git a/Plugin/Installers/windows/ChowTapeModel_Install_Script.iss b/Plugin/Installers/windows/ChowTapeModel_Install_Script.iss @@ -18,13 +18,15 @@ Name: "VST3_64"; Description: "VST3 Plugin 64-bit"; Types: full Name: "VST_64"; Description: "VST Plugin 64-bit"; Types: full Name: "VST3_32"; Description: "VST3 Plugin 32-bit"; Types: full Name: "VST_32"; Description: "VST Plugin 32-bit"; Types: full +Name: "Standalone"; Description: "Standalone Plugin"; Types: full ; Name: "AAX"; Description: "AAX Plugin"; Types: full [Files] Source: "../../Bin/Win64/CHOWTapeModel.vst3"; DestDir: "{code:GetDir|VST3_64}"; Components: VST3_64; Flags: ignoreversion recursesubdirs createallsubdirs -Source: "../../Bin/Win64/CHOWTapeModel.dll"; DestDir: "{code:GetDir|VST_64}"; Components: VST_64; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "../../Bin/Win64/CHOWTapeModel.dll"; Excludes: "*.vst3"; DestDir: "{code:GetDir|VST_64}"; Components: VST_64; Flags: ignoreversion recursesubdirs createallsubdirs Source: "../../Bin/Win32/CHOWTapeModel.vst3"; DestDir: "{code:GetDir|VST3_32}"; Components: VST3_32; Flags: ignoreversion recursesubdirs createallsubdirs -Source: "../../Bin/Win32/CHOWTapeModel.dll"; DestDir: "{code:GetDir|VST_32}"; Components: VST_32; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "../../Bin/Win32/CHOWTapeModel.dll"; Excludes: "*.vst3"; DestDir: "{code:GetDir|VST_32}"; Components: VST_32; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "../../Bin/Win64/CHOWTapeModel.exe"; Excludes: "*.vst3"; DestDir: "{code:GetDir|Standalone}"; Components: Standalone; Flags: ignoreversion recursesubdirs createallsubdirs [Code] var @@ -33,6 +35,7 @@ var Vst_64DirPage: TinputDirWizardPage; Vst3_32DirPage: TinputDirWizardPage; Vst_32DirPage: TinputDirWizardPage; + StandaloneDirPage: TinputDirWizardPage; procedure InitializeWizard; begin @@ -77,7 +80,7 @@ begin Vst3_32DirPage.add(''); Vst3_32DirPage.values[0] := ExpandConstant('{commoncf32}\VST3'); - //VST 64-bit Dir Page + //VST 32-bit Dir Page Vst_32DirPage := CreateInputDirPage(Vst3_32DirPage.ID, 'Select Install Location for VST 32-bit', 'Where would you like to install the plugin?', 'VST 32-bit plugin will be installed in the following folder.'#13#10#13#10 + @@ -86,6 +89,15 @@ begin Vst_32DirPage.add(''); Vst_32DirPage.values[0] := ExpandConstant('{commoncf32}\VST'); + + //Standalone Dir Page + StandaloneDirPage := CreateInputDirPage(Vst_32DirPage.ID, + 'Select Install Location for Standalone', 'Where would you like to install the plugin?', + 'Standalone plugin will be installed in the following folder.'#13#10#13#10 + + 'To continue, click Next. If you would like to select a different folder, click Browse.', + False, 'New Folder'); + StandaloneDirPage.add(''); + StandaloneDirPage.values[0] := ExpandConstant('{pf64}\Chowdhury DSP'); end; function IsSelected(Param: String) : Boolean; @@ -158,6 +170,17 @@ begin Result := False; end end + + else if (PageID = StandaloneDirPage.ID) then + begin + Result := True; + Log('Selected 6: ' + WizardSelectedComponents(False)); + if IsSelected ('standalone') then + begin + Log('Not Skipping'); + Result := False; + end + end end; function GetDir(Param: String) : String; @@ -172,6 +195,8 @@ begin Result := Vst_64DirPage.values[0] else if (Param = 'VST_32') then Result := Vst_32DirPage.values[0] + else if (Param = 'Standalone') then + Result := StandaloneDirPage.values[0] end; function UpdateReadyMemo(Space, NewLine, MemoUserInfoInfo, MemoDirInfo, MemoTypeInfo, @@ -200,5 +225,8 @@ begin if IsSelected('vst_32') then S := S + Space + GetDir('VST_32') + ' (VST 32-bit)' + NewLine; + if IsSelected('standalone') then + S := S + Space + GetDir('Standalone') + ' (Standalone)' + NewLine; + Result := S; end; diff --git a/Plugin/modules/CMakeLists.txt b/Plugin/modules/CMakeLists.txt @@ -29,6 +29,7 @@ target_compile_definitions(juce_plugin_modules JUCE_WEB_BROWSER=0 JUCE_USE_CURL=0 JUCE_VST3_CAN_REPLACE_VST2=0 + # JUCE_ASIO=1 FOLEYS_SHOW_GUI_EDITOR_PALLETTE=0 FOLEYS_ENABLE_BINARY_DATA=1 JucePlugin_Manufacturer="chowdsp" diff --git a/mac_builds.sh b/mac_builds.sh @@ -10,8 +10,8 @@ rm -Rf Bin/*Mac* # set up build VST VST_PATH=~/Developer/Plugin_SDKs/VST2_SDK/ -sed -i '' "10s~.*~juce_set_vst2_sdk_path(${VST_PATH})~" CMakeLists.txt -sed -i '' '17s/#//' CMakeLists.txt +sed -i -e "s~# juce_set_vst2_sdk_path.*~juce_set_vst2_sdk_path(${SDK_PATH}/VST2_SDK)~" CMakeLists.txt +sed -i -e 's/#.*VST/VST/' CMakeLists.txt # cmake new builds TEAM_ID=$(more ~/Developer/mac_id) diff --git a/win_builds.sh b/win_builds.sh @@ -22,9 +22,10 @@ rm -Rf Bin/*Win64* rm -Rf Bin/*Win32* # set up VST and ASIO paths -sed -i -e "10s/#//" CMakeLists.txt -sed -i -e "11s/#//" CMakeLists.txt -sed -i -e '17s/#//' CMakeLists.txt +sed -i -e "s~# juce_set_vst2_sdk_path.*~juce_set_vst2_sdk_path(C:/SDKs/VST_SDK/VST2_SDK/)~" CMakeLists.txt +# sed -i -e "s~.*ASIO_SDK.*~include_directories(C:/SDKs/ASIO_SDK/common)~" CMakeLists.txt +sed -i -e 's/#.*VST/VST/' CMakeLists.txt +# sed -i -e 's/# JUCE_ASIO.*/JUCE_ASIO=1/' modules/CMakeLists.txt # cmake new builds build64 & @@ -46,6 +47,7 @@ cp -R build32/${plugin}_artefacts/Release/VST3/${plugin}.vst3 Bin/Win32/${plugin # reset CMakeLists.txt git restore CMakeLists.txt +git restore modules/CMakeLists.txt # zip builds VERSION=$(cut -f 2 -d '=' <<< "$(grep 'CMAKE_PROJECT_VERSION:STATIC' build/CMakeCache.txt)")