Re: CMakeLists.txt for fontconfig library (enables native compilation on windows)

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

 



Title: CMakeLists.txt for fontconfig library (enables native compilation on windows)
I'd like to see this so I can perhaps incorporate some of that dynamic code generation into the cmake project.  Right now I simply use a custom config.h stored in a (new) msvcport subfolder of fontconfig, and I don't generate fclang.h or .def files (my fontconfig library is static, but I could add a shared library target as well).

Thank you,
    Pavel.

On 10/5/2012 1:13 PM, Diego Santa Cruz wrote:
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

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux