Reduce default LLVM/BTLS Visual Studio build output.
[mono-project.git] / msvc / runmdesc.bat
blob8d089341aecf94929452f9075b2d349b4576f5ad
1 @echo off
2 rem This runs genmdesc on the x86 files when called on Visual Studio
3 echo Running genmdesc
4 cd ..\mono\mini
5 set PATH=%PATH%;%MONO_DEPENDENCIES_PREFIX%\bin
6 if "%2" == "Win32" goto x86
7 if "%2" == "x64" goto x64
8 goto error
9 :x86
10 echo Platform detected is x86...
11 %1 cpu-x86.h x86_desc cpu-x86.md
12 goto end
13 :x64
14 echo Platform detected is x64...
15 %1 cpu-amd64.h amd64_desc cpu-amd64.md
16 goto end
17 :error
18 echo Error: unsupported platform
19 exit /b 100
20 :end
21 echo done