2009-08-27 20:27:29 +02:00
|
|
|
@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
|
2009-09-20 23:58:50 +02:00
|
|
|
|
2010-04-05 01:40:29 +02:00
|
|
|
echo Compiling done. This script is looped, close if you're done.
|
2010-02-20 02:41:24 +01:00
|
|
|
pause
|
|
|
|
|
2010-04-05 01:40:29 +02:00
|
|
|
compile.bat
|