diff options
author | Miguel de Icaza <miguel@gnome.org> | 2009-05-02 02:58:11 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2009-05-02 02:58:11 +0400 |
commit | 3b9995130ace8f78994d1678b517e432b4607dfb (patch) | |
tree | 8725c7104f107e2dcc00a98575cae09ac353c1d9 /msvc05 | |
parent | de7d7320da096ef7a202f252888bb62679d9131b (diff) |
Copy
svn path=/trunk/mono/; revision=133334
Diffstat (limited to 'msvc05')
-rwxr-xr-x | msvc05/runmdesc.bat | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/msvc05/runmdesc.bat b/msvc05/runmdesc.bat new file mode 100755 index 00000000000..8d089341aec --- /dev/null +++ b/msvc05/runmdesc.bat @@ -0,0 +1,22 @@ +@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 + |