sm-zombiereloaded-3/compile.bat
2009-09-20 14:58:50 -07:00

22 lines
526 B
Batchfile

@echo off
set SOURCEDIR=src
set SMINCLUDES=env\include
set BUILDDIR=build
set SPCOMP=env\win32\bin\spcomp.exe
set VERSIONDUMP=updateversion.bat
:: Dump version and revision information first.
echo Updating version and revision info...
start /wait %VERSIONDUMP%
:: Make build directory.
if not exist "%BUILDDIR%" (
mkdir %BUILDDIR%
)
:: Compile.
echo Starting compiler:
%SPCOMP% -i%SOURCEDIR% -i%SOURCEDIR%/include -i%SMINCLUDES% -o%BUILDDIR%/zombiereloaded.smx %SOURCEDIR%\zombiereloaded.sp
pause