Fix building tests with Windows
Hi,
The latest GIT master of cairomm needed some updates so that tests will build with Windows, namely:
- The test-font-face.cc needed updates like commit 715d9dd9 for the Windows bits as well.
- Some test code that built when
CAIRO_HAVE_FT_FONT
is defined does not build becauseCAIRO_HAVE_FC_FONT
is assumed, so check forCAIRO_HAVE_FC_FONT
as well. - NMake Makefiles need to be updated
- Use Boost's
BOOST_AUTO_TEST
feature so that things are easier when one wants to build against shared builds of Boost::Test.
The changes can be found at the fix-tests-windows branch of my fork of the cairomm repository, at https://gitlab.freedesktop.org/fanc999/cairomm.git.
With blessings, thank you!