[Fontconfig] CMakeLists.txt for fontconfig library (enables native compilation on windows)

Diego Santa Cruz Diego.SantaCruz at spinetix.com
Fri Oct 5 12:13:09 PDT 2012


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 at lists.freedesktop.org
on behalf of Pavel Koshevoy
Sent: Fri 05-Oct-12 18:15
To: fontconfig at lists.freedesktop.org
Subject: [Fontconfig] 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 at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/fontconfig


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20121005/7dd72dbe/attachment.html>


More information about the Fontconfig mailing list