Since commit 7c2a5072 the gtkdbusgenerated.[c|h] are not included in the
dist tarball and thus have to be generated, which broke the Visual C++
builds.
This patch adds property sheets and custom build rules for the Visual C++
projects so that gtkdbusgenerated.[c|h] will be generated upon building the
GTK+ DLL sources.
This also tells people building GTK+ from the projects that they need to
have Python 2/3 installed and the Python interpretor needs to be in their
PATH before building GTK+ from the projects.
16 lines
539 B
XML
16 lines
539 B
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioPropertySheet
|
|
ProjectType="Visual C++"
|
|
Version="8.00"
|
|
Name="gtkgensourcesprops"
|
|
InheritedPropertySheets=".\gtk-build-defines.vsprops"
|
|
>
|
|
<UserMacro
|
|
Name="GenerateGtkDbusBuiltSources"
|
|
Value="
|
|
cd ..\..\..\gtk

|
|
python $(GlibEtcInstallRoot)\bin\gdbus-codegen --interface-prefix org.Gtk. --c-namespace _Gtk --generate-c-code gtkdbusgenerated ./gtkdbusinterfaces.xml

|
|
cd $(SolutionDir)

|
|
"
|
|
/>
|
|
</VisualStudioPropertySheet> |