Update Visual C++ property sheets
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 14 Dec 2012 16:28:30 +0000 (00:28 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 14 Dec 2012 16:28:30 +0000 (00:28 +0800)
The last commit (Add a preconfigured gio/gnetworking.h for Windows) has to
be split into two as git am does not like a patch that deals with files
that have different line feeds.

This updates the property sheets to use the pre-configured
gio/gnetworking.h during the build process.

https://bugzilla.gnome.org/show_bug.cgi?id=690163

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

index 44be8f4..fba6bc7 100644 (file)
@@ -571,11 +571,11 @@ copy ..\..\..\gmodule\gmoduleconf.h.win32 ..\..\..\gmodule\gmoduleconf.h
 
 :DONE_GMODULECONF_H
 
-if exist ..\..\..\gio\gconstructor_as_data.h goto DONE_GCONSTRUCTOR_AS_DATA_H
+if exist ..\..\..\gio\gnetworking.h goto DONE_GNETWORKING_H
 
-perl ..\..\..\gio\data-to-c.pl ..\..\..\glib\gconstructor.h gconstructor_code > ..\..\..\gio\gconstructor_as_data.h
+copy ..\..\..\gio\gnetworking.h.win32 ..\..\..\gio\gnetworking.h
 
-:DONE_GCONSTRUCTOR_AS_DATA_H
+:DONE_GNETWORKING_H
 
 </Command>
     </PreBuildEvent>
index 84b60f2..f4211c8 100644 (file)
@@ -32,9 +32,9 @@ if exist ..\..\..\gmodule\gmoduleconf.h goto DONE_GMODULECONF_H&#x0D;&#x0A;
 copy ..\..\..\gmodule\gmoduleconf.h.win32 ..\..\..\gmodule\gmoduleconf.h&#x0D;&#x0A;\r
 :DONE_GMODULECONF_H&#x0D;&#x0A;\r
 \r
-if exist ..\..\..\gio\gconstructor_as_data.h goto DONE_GCONSTRUCTOR_AS_DATA_H&#x0D;&#x0A;\r
-perl ..\..\..\gio\data-to-c.pl ..\..\..\glib\gconstructor.h gconstructor_code > ..\..\..\gio\gconstructor_as_data.h&#x0D;&#x0A;\r
-:DONE_GCONSTRUCTOR_AS_DATA_H&#x0D;&#x0A;\r
+if exist ..\..\..\gio\gnetworking.h goto DONE_GNETWORKING_H&#x0D;&#x0A;\r
+copy ..\..\..\gio\gnetworking.h.win32 ..\..\..\gio\gnetworking.h&#x0D;&#x0A;\r
+:DONE_GNETWORKING_H&#x0D;&#x0A;\r
 "\r
        />\r
        <UserMacro\r