MSVC Builds: Generate glib-mkenums If Possible

As glib-mkenums would likely be used in the building of the other
components of the stack, such as Cogl, Clutter and
gsettings-desktop-schemas, generate that using a Python script (if Python
can be found) and "install" it.
This commit is contained in:
Chun-wei Fan
2014-08-08 17:39:22 +08:00
parent 3e2735f468
commit 3d89041220
12 changed files with 167 additions and 56 deletions

View File

@@ -7,26 +7,22 @@
>
<UserMacro
Name="GenConfigH"
Value="
copy ..\..\..\config.h.win32 ..\..\..\config.h
"
Value="copy ..\..\..\config.h.win32 ..\..\..\config.h"
/>
<UserMacro
Name="GenGLibConfigH"
Value="
copy ..\..\..\glib\glibconfig.h.win32 ..\..\..\glib\glibconfig.h
"
Value="copy ..\..\..\glib\glibconfig.h.win32 ..\..\..\glib\glibconfig.h"
/>
<UserMacro
Name="GenGModuleConfH"
Value="
copy ..\..\..\gmodule\gmoduleconf.h.win32 ..\..\..\gmodule\gmoduleconf.h
"
Value="copy ..\..\..\gmodule\gmoduleconf.h.win32 ..\..\..\gmodule\gmoduleconf.h"
/>
<UserMacro
Name="GenGNetworkingH"
Value="
copy ..\..\..\gio\gnetworking.h.win32 ..\..\..\gio\gnetworking.h
"
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>