1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-24 23:40:27 +00:00
janet/natives/json/build_win.bat

26 lines
430 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
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