This repository has been archived on 2022-06-27. You can view files and clone it, but cannot push or open issues or pull requests.
Xash3DArchive/release.bat

75 lines
2.3 KiB
Batchfile
Raw Normal View History

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=release
set BUILD_ERROR=
call vcvars32
%MSDEV% engine/engine.dsp %CONFIG%"engine - Win32 Release" %build_target%
if errorlevel 1 set BUILD_ERROR=1
2007-09-14 22:00:00 +02:00
%MSDEV% launch/launch.dsp %CONFIG%"launch - Win32 Release" %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 Release" %build_target%
2007-06-21 22:00:00 +02:00
if errorlevel 1 set BUILD_ERROR=1
2008-01-28 22:00:00 +01:00
%MSDEV% imglib/imglib.dsp %CONFIG%"imglib - Win32 Release" %build_target%
if errorlevel 1 set BUILD_ERROR=1
2008-01-05 22:00:00 +01:00
%MSDEV% ripper/ripper.dsp %CONFIG%"ripper - Win32 Release" %build_target%
2008-01-02 22:00:00 +01:00
if errorlevel 1 set BUILD_ERROR=1
2007-10-22 22:00:00 +02:00
%MSDEV% physic/physic.dsp %CONFIG%"physic - Win32 Release" %build_target%
if errorlevel 1 set BUILD_ERROR=1
2007-09-13 22:00:00 +02:00
%MSDEV% render/render.dsp %CONFIG%"render - Win32 Release" %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 Release" %build_target%
if errorlevel 1 set BUILD_ERROR=1
2008-06-04 22:00:00 +02:00
%MSDEV% vprogs/vprogs.dsp %CONFIG%"vprogs - Win32 Release" %build_target%
if errorlevel 1 set BUILD_ERROR=1
2008-06-12 22:00:00 +02:00
%MSDEV% vsound/vsound.dsp %CONFIG%"vsound - Win32 Release" %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
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
2008-01-28 22:00:00 +01:00
if exist imglib\imglib.plg del /f /q imglib\imglib.plg
2008-01-05 22:00:00 +01:00
if exist ripper\ripper.plg del /f /q ripper\ripper.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-07-01 22:00:00 +02:00
quake.exe -game tmpQuArK -dev 3 -debug -log +map start
2007-06-21 22:00:00 +02:00
:done