Add a step to run genmdesc from visual studio
authorMiguel de Icaza <miguel@gnome.org>
Fri, 1 Dec 2006 21:47:31 +0000 (21:47 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Fri, 1 Dec 2006 21:47:31 +0000 (21:47 -0000)
svn path=/trunk/mono/; revision=68855

genmdesc.vcproj
mono/mini/runmdesc.bat [new file with mode: 0644]

index 8659146d75a3f10fe047c173e9d97eb681d8fd9c..092a1bf450ce8e7315eaeacaaded06ae0bfb4ef6 100644 (file)
@@ -25,6 +25,7 @@
                        >\r
                        <Tool\r
                                Name="VCPreBuildEventTool"\r
+                               CommandLine="winsetup.bat"\r
                        />\r
                        <Tool\r
                                Name="VCCustomBuildTool"\r
                        />\r
                        <Tool\r
                                Name="VCPostBuildEventTool"\r
+                               CommandLine="mono\mini\runmdesc.bat"\r
                        />\r
                </Configuration>\r
                <Configuration\r
diff --git a/mono/mini/runmdesc.bat b/mono/mini/runmdesc.bat
new file mode 100644 (file)
index 0000000..c78759e
--- /dev/null
@@ -0,0 +1,7 @@
+@echo off
+rem This runs genmdesc on the x86 files when called on Visual Studio
+echo Running genmdesc on the x86 files...
+cd mono\mini
+..\..\VSDependancies\genmdesc___win32_debug\genmdesc cpu-x86.md cpu-x86.h x86_desc
+echo done
+