4coder/build.bat

21 lines
473 B
Batchfile
Raw Normal View History

2016-01-06 15:39:15 +00:00
@echo off
SET OPTS=/W4 /wd4310 /wd4100 /wd4201 /wd4505 /wd4996 /wd4127 /wd4510 /wd4512 /wd4610 /wd4390 /WX
SET OPTS=%OPTS% /GR- /EHa- /nologo /FC
SET FirstError=0
SET BUILD_MODE=%1
2016-09-05 01:27:37 +00:00
if "%BUILD_MODE%" == "" (SET BUILD_MODE="/DDEV_BUILD")
pushd ..\build
2017-07-09 04:28:33 +00:00
cl %OPTS% kernel32.lib ..\code\meta\4ed_build.cpp /Zi /Febuild %BUILD_MODE%
if %ERRORLEVEL% neq 0 (set FirstError=1)
if %ERRORLEVEL% neq 0 (goto END)
popd
..\build\build
2018-02-14 19:59:46 +00:00
:END
if %ERRORLEVEL% neq 0 (set FirstError=1)