2007-06-21 22:00:00 +02:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
set MSDEV=BuildConsole
|
|
|
|
set CONFIG=/ShowTime /ShowAgent /nologo /cfg=
|
|
|
|
set MSDEV=msdev
|
|
|
|
set CONFIG=/make
|
|
|
|
set build_type=debug
|
|
|
|
set BUILD_ERROR=
|
|
|
|
call vcvars32
|
|
|
|
|
2008-07-24 22:00:00 +02:00
|
|
|
%MSDEV% baserc/baserc.dsp %CONFIG%"baserc - Win32 Debug" %build_target%
|
|
|
|
if errorlevel 1 set BUILD_ERROR=1
|
|
|
|
|
2007-06-21 22:00:00 +02:00
|
|
|
%MSDEV% engine/engine.dsp %CONFIG%"engine - Win32 Debug" %build_target%
|
|
|
|
if errorlevel 1 set BUILD_ERROR=1
|
|
|
|
|
2007-09-14 22:00:00 +02:00
|
|
|
%MSDEV% launch/launch.dsp %CONFIG%"launch - Win32 Debug" %build_target%
|
2007-06-21 22:00:00 +02:00
|
|
|
if errorlevel 1 set BUILD_ERROR=1
|
|
|
|
|
2007-09-13 22:00:00 +02:00
|
|
|
%MSDEV% common/common.dsp %CONFIG%"common - Win32 Debug" %build_target%
|
2007-06-21 22:00:00 +02:00
|
|
|
if errorlevel 1 set BUILD_ERROR=1
|
|
|
|
|
2007-10-22 22:00:00 +02:00
|
|
|
%MSDEV% physic/physic.dsp %CONFIG%"physic - Win32 Debug" %build_target%
|
|
|
|
if errorlevel 1 set BUILD_ERROR=1
|
|
|
|
|
2007-09-13 22:00:00 +02:00
|
|
|
%MSDEV% render/render.dsp %CONFIG%"render - Win32 Debug" %build_target%
|
2007-06-21 22:00:00 +02:00
|
|
|
if errorlevel 1 set BUILD_ERROR=1
|
|
|
|
|
2008-01-07 22:00:00 +01:00
|
|
|
%MSDEV% viewer/viewer.dsp %CONFIG%"viewer - Win32 Debug" %build_target%
|
|
|
|
if errorlevel 1 set BUILD_ERROR=1
|
|
|
|
|
2008-06-04 22:00:00 +02:00
|
|
|
%MSDEV% vprogs/vprogs.dsp %CONFIG%"vprogs - Win32 Debug" %build_target%
|
|
|
|
if errorlevel 1 set BUILD_ERROR=1
|
|
|
|
|
2008-06-12 22:00:00 +02:00
|
|
|
%MSDEV% vsound/vsound.dsp %CONFIG%"vsound - Win32 Debug" %build_target%
|
|
|
|
if errorlevel 1 set BUILD_ERROR=1
|
|
|
|
|
2007-06-21 22:00:00 +02:00
|
|
|
if "%BUILD_ERROR%"=="" goto build_ok
|
|
|
|
|
|
|
|
echo *********************
|
|
|
|
echo *********************
|
|
|
|
echo *** Build Errors! ***
|
|
|
|
echo *********************
|
|
|
|
echo *********************
|
|
|
|
echo press any key to exit
|
|
|
|
echo *********************
|
|
|
|
pause>nul
|
|
|
|
goto done
|
|
|
|
|
|
|
|
|
|
|
|
@rem
|
|
|
|
@rem Successful build
|
|
|
|
@rem
|
|
|
|
:build_ok
|
|
|
|
|
|
|
|
rem //delete log files
|
2008-07-24 22:00:00 +02:00
|
|
|
if exist baserc\baserc.plg del /f /q baserc\baserc.plg
|
2007-06-21 22:00:00 +02:00
|
|
|
if exist engine\engine.plg del /f /q engine\engine.plg
|
2007-09-14 22:00:00 +02:00
|
|
|
if exist launch\launch.plg del /f /q launch\launch.plg
|
2007-09-13 22:00:00 +02:00
|
|
|
if exist common\common.plg del /f /q common\common.plg
|
2007-10-22 22:00:00 +02:00
|
|
|
if exist physic\physic.plg del /f /q physic\physic.plg
|
2007-09-13 22:00:00 +02:00
|
|
|
if exist render\render.plg del /f /q render\render.plg
|
2008-01-07 22:00:00 +01:00
|
|
|
if exist viewer\viewer.plg del /f /q viewer\viewer.plg
|
2008-06-04 22:00:00 +02:00
|
|
|
if exist vprogs\vprogs.plg del /f /q vprogs\vprogs.plg
|
2008-06-12 22:00:00 +02:00
|
|
|
if exist vsound\vsound.plg del /f /q vsound\vsound.plg
|
2007-06-21 22:00:00 +02:00
|
|
|
|
|
|
|
echo Build succeeded!
|
|
|
|
echo Please wait. Xash is now loading
|
|
|
|
cd D:\Xash3D\
|
2008-11-05 22:00:00 +01:00
|
|
|
quake.exe -game tmpQuArK -log -debug -dev 3 +map qctest
|
2007-06-21 22:00:00 +02:00
|
|
|
:done
|