1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-14 12:44:49 +00:00
janet/natives/json/build_win.bat

26 lines
428 B
Batchfile
Raw Normal View History

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
cl /nologo /I..\..\src\include /c /O2 /W3 json.c
2018-08-07 04:54:47 +00:00
@if errorlevel 1 goto :BUILDFAIL
link /nologo /dll ..\..\dst.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