fixes for cmake building on windows

This commit is contained in:
Jesse Chappell
2022-04-19 17:45:56 -04:00
parent 7e71997593
commit b5492f2f60
7 changed files with 544 additions and 31 deletions

View File

@ -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