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/debug.bat

76 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=debug
set BUILD_ERROR=
call vcvars32
2010-04-09 22:00:00 +02:00
%MSDEV% bshift/bshift.dsp %CONFIG%"bshift - Win32 Debug" %build_target%
if errorlevel 1 set BUILD_ERROR=1
2008-12-25 22:00:00 +01:00
%MSDEV% client/client.dsp %CONFIG%"client - 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
2010-07-17 22:00:00 +02:00
%MSDEV% gameui/gameui.dsp %CONFIG%"gameui - Win32 Debug" %build_target%
if errorlevel 1 set BUILD_ERROR=1
2010-07-29 22:00:00 +02:00
%MSDEV% platform/platform.dsp %CONFIG%"platform - Win32 Debug" %build_target%
2007-06-21 22:00:00 +02:00
if errorlevel 1 set BUILD_ERROR=1
2010-06-17 22:00:00 +02:00
%MSDEV% physic/physic.dsp %CONFIG%"physic - Win32 Debug" %build_target%
2007-10-22 22:00:00 +02:00
if errorlevel 1 set BUILD_ERROR=1
2009-10-02 22:00:00 +02:00
%MSDEV% vid_gl/vid_gl.dsp %CONFIG%"vid_gl - Win32 Debug" %build_target%
2007-06-21 22:00:00 +02:00
if errorlevel 1 set BUILD_ERROR=1
2010-03-09 22:00:00 +01:00
%MSDEV% spirit/spirit.dsp %CONFIG%"spirit - Win32 Debug" %build_target%
if errorlevel 1 set BUILD_ERROR=1
2009-10-02 22:00:00 +02:00
%MSDEV% snd_dx/snd_dx.dsp %CONFIG%"snd_dx - Win32 Debug" %build_target%
2008-06-12 22:00:00 +02:00
if errorlevel 1 set BUILD_ERROR=1
2009-01-11 22:00:00 +01:00
%MSDEV% xtools/xtools.dsp %CONFIG%"xtools - 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
2010-04-09 22:00:00 +02:00
if exist bshift\bshift.plg del /f /q bshift\bshift.plg
2008-12-26 22:00:00 +01:00
if exist client\client.plg del /f /q client\client.plg
2007-06-21 22:00:00 +02:00
if exist engine\engine.plg del /f /q engine\engine.plg
2010-07-17 22:00:00 +02:00
if exist gameui\gameui.plg del /f /q gameui\gameui.plg
2010-07-29 22:00:00 +02:00
if exist platform\platform.plg del /f /q platform\platform.plg
2010-06-17 22:00:00 +02:00
if exist physic\physic.plg del /f /q physic\physic.plg
2010-03-09 22:00:00 +01:00
if exist spirit\spirit.plg del /f /q spirit\spirit.plg
2009-10-02 22:00:00 +02:00
if exist vid_gl\vid_gl.plg del /f /q vid_gl\vid_gl.plg
2008-01-07 22:00:00 +01:00
if exist viewer\viewer.plg del /f /q viewer\viewer.plg
2009-10-02 22:00:00 +02:00
if exist snd_dx\snd_dx.plg del /f /q snd_dx\snd_dx.plg
2009-01-11 22:00:00 +01:00
if exist xtools\xtools.plg del /f /q xtools\xtools.plg
2007-06-21 22:00:00 +02:00
echo Build succeeded!
echo Please wait. Xash is now loading
cd D:\Xash3D\
2010-05-22 22:00:00 +02:00
hl.exe -log -dev 3 +loadquick
2007-06-21 22:00:00 +02:00
:done