Commit 9a3be461 authored by Chun-wei Fan's avatar Chun-wei Fan

Visual Studio builds: Add facilities to build with FontConfig

PangoFT2 (and thus FontConfig) are not required portions of the GTK+ stack
on Windows, but since the tests currently rely on this, make it easier for
people who want to build with FontConfig to build the tests.
parent a6243bac
......@@ -4,9 +4,10 @@
<Import Project="rsvg-version-paths.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros">
<LibRsvgCFlags>G_LOG_DOMAIN="librsvg";RSVG_DISABLE_DEPRECATION_WARNINGS;RSVG_COMPILATION</LibRsvgCFlags>
<LibRsvgCFlags>G_LOG_DOMAIN="librsvg";RSVG_DISABLE_DEPRECATION_WARNINGS;RSVG_COMPILATION;SRCDIR="../../../../.."</LibRsvgCFlags>
<LibRsvgIncPath>$(GlibEtcInstallRoot)\include\pango-1.0;$(GlibEtcInstallRoot)\include\libcroco-0.6;$(GlibEtcInstallRoot)\include\libxml2</LibRsvgIncPath>
<LibRsvgLibs>pangocairo-1.0.lib;pango-1.0.lib;croco-0.6.lib;libxml2.lib;userenv.lib;ws2_32.lib</LibRsvgLibs>
<PangoFT2Libs>pangoft2-1.0.lib;fontconfig.lib</PangoFT2Libs>
<IntlLib>intl.lib</IntlLib>
<Gtk3IncPath>$(GlibEtcInstallRoot)\include\gtk-3.0;$(GlibEtcInstallRoot)\include\atk-1.0;$(LibRsvgIncPath)</Gtk3IncPath>
<Gtk3Libs>gtk-3.0.lib;gdk-3.0.lib</Gtk3Libs>
......@@ -44,6 +45,9 @@ nmake -f rsvg-rust.mak CFG=$(Configuration)</RsvgRustNMakeCmd>
<BuildMacro Include="LibRsvgLibs">
<Value>$(LibRsvgLibs)</Value>
</BuildMacro>
<BuildMacro Include="PangoFT2Libs">
<Value>$(PangoFT2Libs)</Value>
</BuildMacro>
<BuildMacro Include="IntlLib">
<Value>$(IntlLib)</Value>
</BuildMacro>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment