Convince the build system to generate VS2015 project files
Signed-off-by: Michael Casadevall <mcasadevall@ubuntu.com>develop
parent
261da66660
commit
e94804ca9f
@ -1,4 +1,4 @@
|
|||||||
call "%VS100COMNTOOLS%vsvars32.bat"
|
call "%VS140COMNTOOLS%vsvars32.bat"
|
||||||
cd VC2010
|
cd VC2015_32
|
||||||
msbuild /m /p:Platform=Win32 /p:Configuration=RelWithDebInfo ALL_BUILD.vcxproj
|
msbuild /m /p:Platform=Win32 /p:Configuration=RelWithDebInfo ALL_BUILD.vcxproj
|
||||||
cd ..
|
cd ..
|
@ -1,5 +1,5 @@
|
|||||||
call "%VS100COMNTOOLS%vsvars32.bat"
|
call "%VS140COMNTOOLS%vsvars32.bat"
|
||||||
cd VC2010
|
cd VC2015_32
|
||||||
msbuild /m /p:Platform=Win32 /p:Configuration=Release ALL_BUILD.vcxproj
|
msbuild /m /p:Platform=Win32 /p:Configuration=Release ALL_BUILD.vcxproj
|
||||||
cd ..
|
cd ..
|
||||||
pause
|
pause
|
@ -1,9 +1,9 @@
|
|||||||
@echo off
|
@echo off
|
||||||
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 VC2010
|
mkdir VC2015_32
|
||||||
cd VC2010
|
cd VC2015_32
|
||||||
echo generating a build folder
|
echo generating a build folder
|
||||||
rem for /f "delims=" %%a in ('DATE /T') do @set myvar=breakfast-%BUILD_NUMBER%
|
rem for /f "delims=" %%a in ('DATE /T') do @set myvar=breakfast-%BUILD_NUMBER%
|
||||||
set myvar=breakfast-%BUILD_NUMBER%
|
set myvar=breakfast-%BUILD_NUMBER%
|
||||||
cmake ..\.. -G"Visual Studio 10" -DDFHACK_RELEASE="%myvar%" -DCMAKE_INSTALL_PREFIX="%_DF_PATH%" -DBUILD_DEVEL=1 -DBUILD_DEV_PLUGINS=1 -DBUILD_DF2MC=1 -DBUILD_DFUSION=1 -DBUILD_STONESENSE=1 -DBUILD_SERVER=1
|
cmake ..\.. -G"Visual Studio 14" -DDFHACK_RELEASE="%myvar%" -DCMAKE_INSTALL_PREFIX="%_DF_PATH%" -DBUILD_DEVEL=1 -DBUILD_DEV_PLUGINS=1 -DBUILD_DF2MC=1 -DBUILD_DFUSION=1 -DBUILD_STONESENSE=1 -DBUILD_SERVER=1
|
||||||
|
@ -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 VC2010
|
mkdir VC2015_32
|
||||||
cd VC2010
|
cd VC2015_32
|
||||||
echo generating a build folder
|
echo generating a build folder
|
||||||
cmake ..\.. -G"Visual Studio 10" -DCMAKE_INSTALL_PREFIX="%_DF_PATH%" -DBUILD_DEVEL=1 -DBUILD_DEV_PLUGINS=1 -DBUILD_DF2MC=1 -DBUILD_DFUSION=1 -DBUILD_STONESENSE=1 -DBUILD_SERVER=1
|
cmake ..\.. -G"Visual Studio 14" -DCMAKE_INSTALL_PREFIX="%_DF_PATH%" -DBUILD_DEVEL=1 -DBUILD_DEV_PLUGINS=1 -DBUILD_DF2MC=1 -DBUILD_DFUSION=1 -DBUILD_STONESENSE=1 -DBUILD_SERVER=1
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
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 VC2010
|
mkdir VC2015_32
|
||||||
cd VC2010
|
cd VC2015_32
|
||||||
echo Pre-generating a build folder
|
echo Pre-generating a build folder
|
||||||
cmake ..\.. -G"Visual Studio 10" -DCMAKE_INSTALL_PREFIX="%_DF_PATH%"
|
cmake ..\.. -G"Visual Studio 14" -DCMAKE_INSTALL_PREFIX="%_DF_PATH%"
|
||||||
cmake-gui .
|
cmake-gui .
|
||||||
|
@ -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 VC2010
|
mkdir VC2015_32
|
||||||
cd VC2010
|
cd VC2015_32
|
||||||
echo generating a build folder
|
echo generating a build folder
|
||||||
cmake ..\.. -G"Visual Studio 10" -DCMAKE_INSTALL_PREFIX="%_DF_PATH%" -DBUILD_DEVEL=0 -DBUILD_DEV_PLUGINS=0 -DBUILD_DF2MC=0 -DBUILD_DFUSION=0 -DBUILD_STONESENSE=0 -DBUILD_SERVER=0
|
cmake ..\.. -G"Visual Studio 14" -DCMAKE_INSTALL_PREFIX="%_DF_PATH%" -DBUILD_DEVEL=0 -DBUILD_DEV_PLUGINS=0 -DBUILD_DF2MC=0 -DBUILD_DFUSION=0 -DBUILD_STONESENSE=0 -DBUILD_SERVER=0
|
||||||
|
@ -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 VC2010
|
mkdir VC2015_32
|
||||||
cd VC2010
|
cd VC2015_32
|
||||||
echo generating a build folder
|
echo generating a build folder
|
||||||
cmake ..\.. -G"Visual Studio 10" -DCMAKE_INSTALL_PREFIX="%_DF_PATH%" -DBUILD_DEVEL=0 -DBUILD_DEV_PLUGINS=0 -DBUILD_DF2MC=1 -DBUILD_DFUSION=1 -DBUILD_STONESENSE=1 -DBUILD_SERVER=1
|
cmake ..\.. -G"Visual Studio 14" -DCMAKE_INSTALL_PREFIX="%_DF_PATH%" -DBUILD_DEVEL=0 -DBUILD_DEV_PLUGINS=0 -DBUILD_DF2MC=1 -DBUILD_DFUSION=1 -DBUILD_STONESENSE=1 -DBUILD_SERVER=1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
call "%VS100COMNTOOLS%vsvars32.bat"
|
call "%VS140COMNTOOLS%vsvars32.bat"
|
||||||
cd VC2010
|
cd VC2015_32
|
||||||
msbuild /m /p:Platform=Win32 /p:Configuration=RelWithDebInfo INSTALL.vcxproj
|
msbuild /m /p:Platform=Win32 /p:Configuration=RelWithDebInfo INSTALL.vcxproj
|
||||||
cd ..
|
cd ..
|
@ -1,4 +1,4 @@
|
|||||||
call "%VS100COMNTOOLS%vsvars32.bat"
|
call "%VS140COMNTOOLS%vsvars32.bat"
|
||||||
cd VC2010
|
cd VC2015_32
|
||||||
msbuild /m /p:Platform=Win32 /p:Configuration=Release INSTALL.vcxproj
|
msbuild /m /p:Platform=Win32 /p:Configuration=Release INSTALL.vcxproj
|
||||||
cd ..
|
cd ..
|
@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
call "%VS100COMNTOOLS%vsvars32.bat"
|
call "%VS140COMNTOOLS%vsvars32.bat"
|
||||||
cd VC2010
|
cd VC2015_32
|
||||||
msbuild /m /p:Platform=Win32 /p:Configuration=RelWithDebInfo PACKAGE.vcxproj
|
msbuild /m /p:Platform=Win32 /p:Configuration=RelWithDebInfo PACKAGE.vcxproj
|
||||||
cd ..
|
cd ..
|
||||||
exit %ERRORLEVEL%
|
exit %ERRORLEVEL%
|
@ -1,5 +1,5 @@
|
|||||||
@echo off
|
@echo off
|
||||||
call "%VS100COMNTOOLS%vsvars32.bat"
|
call "%VS140COMNTOOLS%vsvars32.bat"
|
||||||
cd VC2010
|
cd VC2015_32
|
||||||
msbuild /m /p:Platform=Win32 /p:Configuration=Release PACKAGE.vcxproj
|
msbuild /m /p:Platform=Win32 /p:Configuration=Release PACKAGE.vcxproj
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
Reference in New Issue