linux-packaging-mono/msvc/runmdesc.bat
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

23 lines
463 B
Batchfile
Executable File

@echo off
rem This runs genmdesc on the x86 files when called on Visual Studio
echo Running genmdesc
cd ..\mono\mini
set PATH=%PATH%;%MONO_DEPENDENCIES_PREFIX%\bin
if "%2" == "Win32" goto x86
if "%2" == "x64" goto x64
goto error
:x86
echo Platform detected is x86...
%1 cpu-x86.h x86_desc cpu-x86.md
goto end
:x64
echo Platform detected is x64...
%1 cpu-amd64.h amd64_desc cpu-amd64.md
goto end
:error
echo Error: unsupported platform
exit /b 100
:end
echo done