2018-08-13 21:40:55 +00:00
|
|
|
@rem Generated batch script, run in 'Visual Studio Developer Prompt'
|
2018-08-07 04:54:47 +00:00
|
|
|
|
2018-08-13 21:40:55 +00:00
|
|
|
@rem
|
2018-08-07 04:54:47 +00:00
|
|
|
|
2018-08-13 21:40:55 +00:00
|
|
|
@echo off
|
2018-08-07 04:54:47 +00:00
|
|
|
|
2018-08-26 15:28:51 +00:00
|
|
|
cl /nologo /I..\..\src\include /c /O2 /W3 json.c
|
2018-08-07 04:54:47 +00:00
|
|
|
@if errorlevel 1 goto :BUILDFAIL
|
|
|
|
|
2018-09-06 02:18:42 +00:00
|
|
|
link /nologo /dll ..\..\janet.lib /out:json.dll *.obj
|
2018-08-13 21:40:55 +00:00
|
|
|
if errorlevel 1 goto :BUILDFAIL
|
2018-08-07 04:54:47 +00:00
|
|
|
|
2018-08-13 21:40:55 +00:00
|
|
|
@echo .
|
|
|
|
@echo ======
|
|
|
|
@echo Build Succeeded.
|
|
|
|
@echo =====
|
2018-08-07 04:54:47 +00:00
|
|
|
exit /b 0
|
|
|
|
|
|
|
|
:BUILDFAIL
|
2018-08-13 21:40:55 +00:00
|
|
|
@echo .
|
|
|
|
@echo =====
|
|
|
|
@echo BUILD FAILED. See Output For Details.
|
|
|
|
@echo =====
|
|
|
|
@echo .
|
2018-08-07 04:54:47 +00:00
|
|
|
exit /b 1
|