fixes for cmake building on windows
This commit is contained in:
@ -1,30 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd ../Builds/VisualStudio2019
|
||||
cd ..
|
||||
|
||||
rm -rf build build32
|
||||
|
||||
#ARGS="-v:m -m -noWarn:C4244,C4267,C4996,C4305,C4189,C4100,C4127,C4458"
|
||||
ARGS="-m /clp:ErrorsOnly -v:m"
|
||||
./setupcmakewin.sh
|
||||
#./setupcmakewin32.sh
|
||||
|
||||
# build everything in Release mode
|
||||
echo "Building 64 bit"
|
||||
./buildcmake.sh
|
||||
|
||||
MSBuild.exe PaulXStretch.sln ${ARGS} -t:Rebuild /p:Configuration=Release /p:Platform=x64
|
||||
|
||||
# build 32 bit
|
||||
#echo "Building 32 bit"
|
||||
|
||||
##MSBuild.exe SonoBus.sln ${ARGS} -t:Rebuild /p:Configuration=Release32 /p:Platform=Win32
|
||||
|
||||
#MSBuild.exe SonoBus_SharedCode.vcxproj ${ARGS} -t:Rebuild /p:Configuration=Release32 /p:Platform=Win32
|
||||
#MSBuild.exe SonoBus_StandalonePlugin.vcxproj ${ARGS} -t:Rebuild /p:Configuration=Release32 /p:Platform=Win32
|
||||
#MSBuild.exe SonoBus_VST.vcxproj ${ARGS} -t:Rebuild /p:Configuration=Release32 /p:Platform=Win32
|
||||
#MSBuild.exe SonoBus_VST3.vcxproj ${ARGS} -t:Rebuild /p:Configuration=Release32 /p:Platform=Win32
|
||||
|
||||
|
||||
# build VST2 with ReleaseVST2
|
||||
#MSBuild.exe SonoBus_SharedCode.vcxproj ${ARGS} -t:Rebuild /p:Configuration=ReleaseVST2 /p:Platform=x64
|
||||
#MSBuild.exe SonoBus_VST.vcxproj ${ARGS} -t:Rebuild /p:Configuration=ReleaseVST2 /p:Platform=x64
|
||||
|
||||
|
||||
|
||||
|
@ -16,8 +16,11 @@ if [ -z "$CERTFILE" ] ; then
|
||||
exit 2
|
||||
fi
|
||||
|
||||
BUILDDIR='../Builds/VisualStudio2019/x64/Release'
|
||||
BUILDDIR32='../Builds/VisualStudio2019/Win32/Release32'
|
||||
BUILDDIR="../build/${BASENAME}_artefacts/Release"
|
||||
BUILDDIR32="../build32/${BASENAME}_artefacts/Release"
|
||||
|
||||
#BUILDDIR='../Builds/VisualStudio2019/x64/Release'
|
||||
#BUILDDIR32='../Builds/VisualStudio2019/Win32/Release32'
|
||||
|
||||
mkdir -p ${BASENAME}/Plugins
|
||||
|
||||
@ -25,7 +28,7 @@ mkdir -p ${BASENAME}/Plugins
|
||||
cp -v ${BUILDDIR}/Standalone\ Plugin/${BASENAME}.exe ${BASENAME}/
|
||||
cp -v ${BUILDDIR}/VST3/${BASENAME}.vst3 ${BASENAME}/Plugins/
|
||||
#cp -v ${BUILDDIR}/VST/SonoBus.dll ${BASENAME}/Plugins/
|
||||
#cp -pHLRv ${BUILDDIR}/AAX/SonoBus.aaxplugin ${BASENAME}/Plugins/
|
||||
cp -pHLRv ${BUILDDIR}/AAX/${BASENAME}.aaxplugin ${BASENAME}/Plugins/
|
||||
|
||||
|
||||
#mkdir -p SonoBus/Plugins32
|
||||
@ -37,10 +40,10 @@ cp -v ${BUILDDIR}/VST3/${BASENAME}.vst3 ${BASENAME}/Plugins/
|
||||
|
||||
|
||||
# sign AAX
|
||||
#if [ -n "${AAXSIGNCMD}" ]; then
|
||||
# echo "Signing AAX plugin"
|
||||
# ${AAXSIGNCMD} --keypassword "${CERTPASS}" --in 'SonoBus\Plugins\Sonobus.aaxplugin' --out 'SonoBus\Plugins\Sonobus.aaxplugin'
|
||||
#fi
|
||||
if [ -n "${AAXSIGNCMD}" ]; then
|
||||
echo "Signing AAX plugin"
|
||||
${AAXSIGNCMD} --keypassword "${CERTPASS}" --in ${BASENAME}'\Plugins\'${BASENAME}.aaxplugin --out ${BASENAME}'\Plugins\'${BASENAME}.aaxplugin
|
||||
fi
|
||||
|
||||
|
||||
# sign executable
|
||||
|
@ -43,7 +43,7 @@ Name: "aax_64"; Description: "64-bit AAX Plugin (.aaxplugin)"; Types: full custo
|
||||
Source: "PaulXStretch\PaulXStretch.exe"; DestDir: "{app}" ; Check: Is64BitInstallMode; Components:app; Flags: ignoreversion signonce;
|
||||
;Source: "SonoBus\Plugins\PaulXStretch.dll"; DestDir: {code:GetVST2Dir|0}; Check: Is64BitInstallMode; Components:vst2_64; Flags: ignoreversion signonce;
|
||||
Source: "PaulXStretch\Plugins\PaulXStretch.vst3"; DestDir: "{commoncf64}\VST3\"; Check: Is64BitInstallMode; Components:vst3_64; Flags: ignoreversion signonce ;
|
||||
Source: "SonoBus\Plugins\PaulXStretch.aaxplugin"; DestDir: "{commoncf64}\Avid\Audio\Plug-Ins\"; Check: Is64BitInstallMode; Components:aax_64; Flags: ignoreversion recursesubdirs createallsubdirs ;
|
||||
Source: "PaulXStretch\Plugins\PaulXStretch.aaxplugin"; DestDir: "{commoncf64}\Avid\Audio\Plug-Ins\"; Check: Is64BitInstallMode; Components:aax_64; Flags: ignoreversion recursesubdirs createallsubdirs ;
|
||||
|
||||
;Source: "SonoBus\SonoBus32.exe"; DestDir: "{app}" ; DestName:"SonoBus.exe"; Check: not Is64BitInstallMode; Components:app32; Flags: ignoreversion signonce;
|
||||
;Source: "SonoBus\Plugins32\SonoBus.dll"; DestDir: {code:GetVST2Dir|1}; Components:vst2_32; Flags: ignoreversion signonce;
|
||||
|
Reference in New Issue
Block a user