[librsvg] Visual Studio builds: Add facilities to build with FontConfig



commit 9a3be46109973fbe585ec998b13f6a4caeb88346
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Mar 2 11:11:06 2017 +0800

    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.

 win32/vs12/rsvg-build-defines.props |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/win32/vs12/rsvg-build-defines.props b/win32/vs12/rsvg-build-defines.props
index 8d62f8f..fec5b42 100644
--- a/win32/vs12/rsvg-build-defines.props
+++ b/win32/vs12/rsvg-build-defines.props
@@ -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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]