forked from AuroraMiddleware/gtk
09b7dc81a6
This is so that it is easier for one building GTK+ with Visual Studio to build the introspection files as well in one shot. Note that this is not built by default, so one needs to select the gtk3-introspect explicitly to build (and clean up) the introspection files. For this to work, one needs to ensure the following: -A complete build of GObject-Introspection in $(GlibEtcInstallRoot), that is built with the same installation of the Python interpretor that is used here (see PythonDir and PythonDirX64 in gtk3-version-paths.[vsprops|props]). -Introspection files for ATK, GDK-Pixbuf and Pango, also in their proper locations under $(GlibEtcInstallRoot), which should be built with the same G-I installation.
71 lines
3.4 KiB
XML
71 lines
3.4 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioPropertySheet
|
|
ProjectType="Visual C++"
|
|
Version="8.00"
|
|
Name="gtk3builddefinesprops"
|
|
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin"
|
|
IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj\$(ProjectName)\"
|
|
InheritedPropertySheets=".\gtk3-version-paths.vsprops"
|
|
>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
AdditionalIncludeDirectories="..\..\..;$(GlibEtcInstallRoot)\include\gdk-pixbuf-2.0;$(GlibEtcInstallRoot)\include\pango-1.0;$(GlibEtcInstallRoot)\include\atk-1.0;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\gio-win32-2.0;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include"
|
|
PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;ATK_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES;GTK_DISABLE_SINGLE_INCLUDES;_USE_MATH_DEFINES"
|
|
ForcedIncludeFiles="msvc_recommended_pragmas.h"
|
|
AdditionalOptions="/MP"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="gdk_pixbuf-2.0.lib pangocairo-1.0.lib pango-1.0.lib cairo-gobject.lib cairo.lib gio-2.0.lib gmodule-2.0.lib gobject-2.0.lib glib-2.0.lib intl.lib epoxy.lib"
|
|
AdditionalLibraryDirectories="$(GlibEtcInstallRoot)\lib"
|
|
/>
|
|
<UserMacro
|
|
Name="GtkBinaryVersion"
|
|
Value="3.0.0"
|
|
/>
|
|
<UserMacro
|
|
Name="GtkDummyPrefix"
|
|
Value="/dummy"
|
|
/>
|
|
<UserMacro
|
|
Name="GtkPrefixDefine"
|
|
Value="GTK_PREFIX=\"$(GtkDummyPrefix)\""
|
|
/>
|
|
<UserMacro
|
|
Name="GdkDefines"
|
|
Value="GDK_COMPILATION;G_LOG_DOMAIN=\"Gdk\""
|
|
/>
|
|
<UserMacro
|
|
Name="GtkIncludedImmodulesDefines"
|
|
Value="INCLUDE_IM_am_et;INCLUDE_IM_cedilla;INCLUDE_IM_cyrillic_translit;INCLUDE_IM_ime;INCLUDE_IM_inuktitut;INCLUDE_IM_ipa;INCLUDE_IM_multipress;INCLUDE_IM_thai;INCLUDE_IM_ti_er;INCLUDE_IM_ti_et;INCLUDE_IM_viqr"
|
|
/>
|
|
<UserMacro
|
|
Name="GtkDefines"
|
|
Value="GTK_COMPILATION;G_LOG_DOMAIN=\"Gtk\";GTK_HOST=\"i686-pc-vs$(VSVer)\";GTK_PRINT_BACKENDS=\"file\";GTK_PRINT_BACKEND_ENABLE_UNSUPPORTED;$(GtkIncludedImmodulesDefines);GTK_LIBDIR=\"$(GtkDummyPrefix)/lib\";GTK_DATADIR=\"$(GtkDummyPrefix)/share\"GTK_DATA_PREFIX=\"$(GtkDummyPrefix)\";GTK_SYSCONFDIR=\"$(GtkDummyPrefix)/etc\";MULTIPRESS_CONFDIR=\"$(GtkDummyPrefix)/etc/gtk-$(ApiVersion)\";MULTIPRESS_LOCALEDIR=\"$(GtkDummyPrefix)/share/locale\";GTK_VERSION=\"$(GtkVersion)/etc\";GTK_BINARY_VERSION=\"$(GtkBinaryVersion)/etc\";GDK_DISABLE_DEPRECATED;ISOLATION_AWARE_ENABLED"
|
|
/>
|
|
<UserMacro
|
|
Name="GtkGdkCommonLibs"
|
|
Value="imm32.lib"
|
|
/>
|
|
<UserMacro
|
|
Name="GdkBroadwayAdditionalLibs"
|
|
Value="ws2_32.lib"
|
|
/>
|
|
<UserMacro
|
|
Name="GdkAdditionalLibs"
|
|
Value="winmm.lib dwmapi.lib setupapi.lib $(GtkGdkCommonLibs)"
|
|
/>
|
|
<UserMacro
|
|
Name="GtkAdditionalLibs"
|
|
Value="atk-1.0.lib pangowin32-1.0.lib winspool.lib comctl32.lib $(GtkGdkCommonLibs)"
|
|
/>
|
|
<UserMacro
|
|
Name="GtkIntrospectNMakeCmd"
|
|
Value="cd ..
set VCInstallDir=$(VCInstallDir)
nmake -f gtk-introspection-msvc.mak CFG=$(ConfigurationName) PREFIX=$(GlibEtcInstallRoot)"
|
|
/>
|
|
<UserMacro
|
|
Name="GtkIntrospectBuiltFiles"
|
|
Value="$(SolutionDir)\..\Gtk-3.0.gir;$(SolutionDir)\..\Gtk-3.0.typelib;$(SolutionDir)\..\GdkWin32-3.0.gir;$(SolutionDir)\..\GdkWin32-3.0.typelib;$(SolutionDir)\..\Gdk-3.0.gir;$(SolutionDir)\..\Gdk-3.0.typelib"
|
|
/>
|
|
</VisualStudioPropertySheet>
|