sm-zombiereloaded-3/compile.bat
BotoX 76ffbe7e13 Update spcomp and includes to latest 1.10-fork
disable warning 241: Array-based enum structs will be removed in 1.11
2019-09-27 13:16:54 +02:00

26 lines
591 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% -w241 -i%SOURCEDIR% -i%SOURCEDIR%/include -i%SMINCLUDES% -o%BUILDDIR%/zombiereloaded.smx %SOURCEDIR%\zombiereloaded.sp
echo Compiling done. This script is looped, close if you're done.
pause
compile.bat