partial update to build with vs2022

develop
Kelly Kinkade 2022-12-07 12:17:31 -06:00
parent c08319004a
commit 0b80bd41b0
5 changed files with 8 additions and 7 deletions

1
build/.gitignore vendored

@ -1,6 +1,7 @@
VC2010 VC2010
VC2015 VC2015
VC2015_32 VC2015_32
VC2022
DF_PATH.txt DF_PATH.txt
_CPack_Packages _CPack_Packages
*.tar.* *.tar.*

@ -1,4 +1,4 @@
call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
cd VC2015 cd VC2022
msbuild /m /p:Platform=x64 /p:Configuration=RelWithDebInfo ALL_BUILD.vcxproj msbuild /m /p:Platform=x64 /p:Configuration=RelWithDebInfo ALL_BUILD.vcxproj
cd .. cd ..

@ -1,6 +1,6 @@
IF EXIST DF_PATH.txt SET /P _DF_PATH=<DF_PATH.txt IF EXIST DF_PATH.txt SET /P _DF_PATH=<DF_PATH.txt
IF NOT EXIST DF_PATH.txt SET _DF_PATH=%CD%\DF IF NOT EXIST DF_PATH.txt SET _DF_PATH=%CD%\DF
mkdir VC2015 mkdir VC2022
cd VC2015 cd VC2022
echo generating a build folder echo generating a build folder
cmake ..\..\.. -G"Visual Studio 14 Win64" -T v140_xp -DCMAKE_INSTALL_PREFIX="%_DF_PATH%" -DBUILD_DEVEL=1 -DBUILD_DEV_PLUGINS=1 -DBUILD_STONESENSE=1 cmake ..\..\.. -G"Visual Studio 17 2022" -A x64 -DCMAKE_INSTALL_PREFIX="%_DF_PATH%" -DBUILD_DEVEL=1 -DBUILD_DEV_PLUGINS=1 -DBUILD_STONESENSE=1

@ -3,5 +3,5 @@ IF NOT EXIST DF_PATH.txt SET _DF_PATH=%CD%\DF
mkdir VC2015 mkdir VC2015
cd VC2015 cd VC2015
echo Pre-generating a build folder echo Pre-generating a build folder
cmake ..\..\.. -G"Visual Studio 14 Win64" -T v140_xp -DCMAKE_INSTALL_PREFIX="%_DF_PATH%" cmake ..\..\.. -G"Visual Studio 17" -A x64 -T v190 -DCMAKE_INSTALL_PREFIX="%_DF_PATH%"
cmake-gui . cmake-gui .

@ -1 +1 @@
Subproject commit a446b5c957d9106785e584d2d78760d5e40e06da Subproject commit cc7c6b149d9c0916aafa36702879700cd24aed68