MSVC Builds: Simplify Script to Generate glib-mkenums

Use a simple all-purpose utility script to generate the glib-mkenums
PERL script with the version info, and stop using the script that
tries to parse the autotools files.  Move the things that
were taken out from build/win32/setup.py back there.
This commit is contained in:
Chun-wei Fan
2015-09-09 11:54:11 +08:00
parent 0570adff80
commit 9c7df09c3b
9 changed files with 142 additions and 84 deletions

View File

@@ -1,28 +0,0 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioPropertySheet
ProjectType="Visual C++"
Version="8.00"
Name="glibgensrcsprops"
InheritedPropertySheets=".\glib-build-defines.vsprops"
>
<UserMacro
Name="GenConfigH"
Value="copy ..\..\..\config.h.win32 ..\..\..\config.h"
/>
<UserMacro
Name="GenGLibConfigH"
Value="copy ..\..\..\glib\glibconfig.h.win32 ..\..\..\glib\glibconfig.h"
/>
<UserMacro
Name="GenGModuleConfH"
Value="copy ..\..\..\gmodule\gmoduleconf.h.win32 ..\..\..\gmodule\gmoduleconf.h"
/>
<UserMacro
Name="GenGNetworkingH"
Value="copy ..\..\..\gio\gnetworking.h.win32 ..\..\..\gio\gnetworking.h"
/>
<UserMacro
Name="GenGLibMKEnums"
Value="if exist $(PythonPath)\python.exe $(PythonPath)\python.exe ..\process_in_win32.py --glib-mkenums"
/>
</VisualStudioPropertySheet>