Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / msvc / runburg.bat
1 @echo off
2 rem This runs Monoburg on the various x86 files when called on Visual Studio
3 echo Running Monoburg on the inssel.brg files...
4 cd ..\mono\mini
5 set PATH=%PATH%;%MONO_DEPENDENCIES_PREFIX%\bin
6
7 if "%2" == "Win32" goto x86
8 if "%2" == "x64" goto x64
9 goto error
10 :x86
11 echo Platform detected is x86...
12 %1 -c 1 -p -e inssel.brg inssel-float.brg inssel-long32.brg inssel-x86.brg -d inssel.h -s inssel.c
13 goto end
14 :x64
15 echo Platform detected is x64...
16 %1 -c 1 -p -e inssel.brg inssel-float.brg inssel-long.brg inssel-amd64.brg -d inssel.h -s inssel.c
17 goto end
18 :error
19 echo Error: unsupported platform
20 exit /b 100
21 :end
22 echo done
23