Hi,
That's interesting. On my side I had similar requirements and I've built an MSVC 2008 project file for fontconfig 2.10.1 with the dirent emulation as well. The project dynamically generates the fclang.h and other header files from the templates as well the .def file with the DLL exports, much like what is done with the configure based build.
If anyone is interested I can post the patch to the mailing list.
Best,
Diego
From: fontconfig-bounces+diego.santacruz=spinetix.com@xxxxxxxxxxxxxxxxxxxxx on behalf of Pavel Koshevoy
Sent: Fri 05-Oct-12 18:15
To: fontconfig@xxxxxxxxxxxxxxxxxxxxx
Subject: CMakeLists.txt for fontconfig library (enables native compilation on windows)
Hi,
I've needed to debug a strange crash in fontconfig-2.10.1 library in my
video player on winxp. The mingw build of fontconfig was not working
right, so I ended up making a cmake project for fontconfig (just the
library, not any of the executables). I've used this to generate a
MSVS2005 solution and build fontconfig natively. I've also added a very
thin portability layer to compensate for lack of dirent.h (and a couple
other minor things) on windows. If anyone is interested I can
contribute a patch (I'll have to clean it up a little first).
Pavel.
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig
_______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig