Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/msvc05
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2009-05-02 02:58:11 +0400
committerMiguel de Icaza <miguel@gnome.org>2009-05-02 02:58:11 +0400
commit3b9995130ace8f78994d1678b517e432b4607dfb (patch)
tree8725c7104f107e2dcc00a98575cae09ac353c1d9 /msvc05
parentde7d7320da096ef7a202f252888bb62679d9131b (diff)
Copy
svn path=/trunk/mono/; revision=133334
Diffstat (limited to 'msvc05')
-rwxr-xr-xmsvc05/runmdesc.bat22
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
+