2012-04-14 15:03:12 -06:00
|
|
|
@echo off
|
|
|
|
IF EXIST DF_PATH.txt SET /P _DF_PATH=<DF_PATH.txt
|
|
|
|
IF NOT EXIST DF_PATH.txt SET _DF_PATH=%CD%\DF
|
2016-06-28 05:53:23 -06:00
|
|
|
mkdir VC2015_32
|
|
|
|
cd VC2015_32
|
2012-04-14 15:03:12 -06:00
|
|
|
echo generating a build folder
|
2012-04-15 09:16:45 -06:00
|
|
|
rem for /f "delims=" %%a in ('DATE /T') do @set myvar=breakfast-%BUILD_NUMBER%
|
|
|
|
set myvar=breakfast-%BUILD_NUMBER%
|
2016-10-15 19:02:35 -06:00
|
|
|
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
|