2016-01-06 15:39:15 +00:00
|
|
|
@echo off
|
|
|
|
|
2018-05-30 20:27:47 +00:00
|
|
|
set opts=/W4 /wd4310 /wd4100 /wd4201 /wd4505 /wd4996 /wd4127 /wd4510 /wd4512 /wd4610 /wd4390 /WX
|
|
|
|
set opts=%opts% /GR- /EHa- /nologo /FC
|
2016-08-28 04:31:06 +00:00
|
|
|
|
2018-05-30 20:27:47 +00:00
|
|
|
set FirstError=0
|
2016-08-28 04:31:06 +00:00
|
|
|
|
2018-05-30 20:27:47 +00:00
|
|
|
set build_mode=%1
|
|
|
|
if "%build_mode%" == "" (set build_mode="/DDEV_BUILD")
|
2016-09-05 01:27:37 +00:00
|
|
|
|
2016-08-28 04:31:06 +00:00
|
|
|
pushd ..\build
|
2019-01-25 21:03:52 +00:00
|
|
|
call cl %opts% kernel32.lib ..\code\meta\4ed_build.cpp /Zi /Febuild %build_mode%
|
2016-08-28 04:31:06 +00:00
|
|
|
if %ERRORLEVEL% neq 0 (set FirstError=1)
|
2017-01-07 02:59:55 +00:00
|
|
|
if %ERRORLEVEL% neq 0 (goto END)
|
2016-08-28 04:31:06 +00:00
|
|
|
popd
|
|
|
|
|
|
|
|
..\build\build
|
2018-02-14 19:59:46 +00:00
|
|
|
:END
|
2016-08-28 04:31:06 +00:00
|
|
|
if %ERRORLEVEL% neq 0 (set FirstError=1)
|
|
|
|
|