Update VS property sheets
authorChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 8 Dec 2011 09:39:26 +0000 (17:39 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 8 Dec 2011 09:39:26 +0000 (17:39 +0800)
Generate clutter-marshal.[ch] before the clutter-enum-types.[ch].
Strangely Visual C++ does funny things if this was done the other way
around. :|

build/win32/vs10/clutter.props
build/win32/vs9/clutter.vsprops

index 91d097d..194fe79 100644 (file)
@@ -35,13 +35,6 @@ copy ..\..\..\clutter\clutter-version.h.win32 ..\..\..\clutter\clutter-version.h
 :DONE_CLUTTER_VERSION_H
 
 
-cd ..
-
-gen-enums.bat $(GlibEtcInstallRoot)
-
-cd .\vs10
-
-
 if exist ..\..\..\clutter\clutter-marshal.h goto DONE_CLUTTER_MARSHAL_H
 
 cd ..\..\..\clutter
@@ -65,6 +58,13 @@ cd ..\build\win32\vs10
 
 :DONE_CLUTTER_MARSHAL_C
 
+
+cd ..
+
+gen-enums.bat $(GlibEtcInstallRoot)
+
+cd .\vs10
+
 </PreBuildCmd>
     <ClutterDoInstall>
 mkdir $(CopyDir)
index 169ae34..0117b66 100644 (file)
@@ -77,10 +77,6 @@ if exist ..\..\..\clutter\clutter-version.h goto DONE_CLUTTER_VERSION_H&#x0D;&#x
 copy ..\..\..\clutter\clutter-version.h.win32 ..\..\..\clutter\clutter-version.h&#x0D;&#x0A;
 :DONE_CLUTTER_VERSION_H&#x0D;&#x0A;
 
-cd ..&#x0D;&#x0A;
-gen-enums.bat $(GlibEtcInstallRoot)&#x0D;&#x0A;
-cd .\vs9&#x0D;&#x0A;
-
 if exist ..\..\..\clutter\clutter-marshal.h goto DONE_CLUTTER_MARSHAL_H&#x0D;&#x0A;
 cd ..\..\..\clutter&#x0D;&#x0A;
 $(GlibEtcInstallRoot)\bin\glib-genmarshal --prefix=_clutter_marshal --header clutter-marshal.list &gt; clutter-marshal.h&#x0D;&#x0A;
@@ -93,6 +89,10 @@ echo #include &quot;clutter-marshal.h&quot; &gt; clutter-marshal.c&#x0D;&#x0A;
 $(GlibEtcInstallRoot)\bin\glib-genmarshal --prefix=_clutter_marshal --body clutter-marshal.list &gt;&gt; clutter-marshal.c&#x0D;&#x0A;
 cd ..\build\win32\vs9&#x0D;&#x0A;
 :DONE_CLUTTER_MARSHAL_C&#x0D;&#x0A;
+
+cd ..&#x0D;&#x0A;
+gen-enums.bat $(GlibEtcInstallRoot)&#x0D;&#x0A;
+cd .\vs9&#x0D;&#x0A;
 "
        />
        <UserMacro