<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">OK, I think I've figured how to auto
      generated the fccase.h, fclang.h, and fcglyphname.h with cmake. 
      I've sent a patch for review.  I wouldn't mind having a look at
      the .def file though.<br>
      <br>
      Thank you,<br>
          Pavel.<br>
      <br>
      <br>
      On 10/5/12 8:40 PM, Pavel Koshevoy wrote:<br>
    </div>
    <blockquote cite="mid:506F9A0A.7020607@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Turns out the only reason my cmake
        project worked was because I had previously run ./configure and
        it generated those .h files for me.  I need to figure out a way
        to generate them via cmake instead.  I would appreciate if you
        would share your vs2008 project.<br>
        <br>
        Thank you,<br>
            Pavel.<br>
        <br>
        <br>
        On 10/5/12 1:36 PM, Pavel Koshevoy wrote:<br>
      </div>
      <blockquote cite="mid:506F36C3.7090000@gmail.com" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">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).<br>
          <br>
          Thank you,<br>
              Pavel.<br>
          <br>
          On 10/5/2012 1:13 PM, Diego Santa Cruz wrote:<br>
        </div>
        <blockquote
          cite="mid:364D31930BDB974AB40E22C5C2E584EDCD67@asterix.SPINETIX.local"
          type="cite">
          <title>[Fontconfig] CMakeLists.txt for fontconfig library
            (enables native compilation on windows)</title>
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          <meta name="GENERATOR" content="MSHTML 8.00.6001.19258">
          <div dir="ltr" id="idOWAReplyText17699">
            <div dir="ltr"><font color="#000000" face="Arial" size="2">Hi,</font></div>
            <div dir="ltr"> </div>
            <div dir="ltr"><font face="Arial" size="2">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.</font></div>
            <div dir="ltr"> </div>
            <div dir="ltr"><font face="Arial" size="2">If anyone is
                interested I can post the patch to the mailing list.</font></div>
            <div dir="ltr"> </div>
            <div dir="ltr"><font face="Arial" size="2">Best,</font></div>
            <div dir="ltr"> </div>
            <div dir="ltr"><font face="Arial" size="2">Diego</font> </div>
          </div>
          <div dir="ltr"><br>
            <hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b>
              <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:fontconfig-bounces+diego.santacruz=spinetix.com@lists.freedesktop.org">fontconfig-bounces+diego.santacruz=spinetix.com@lists.freedesktop.org</a>
              on behalf of Pavel Koshevoy<br>
              <b>Sent:</b> Fri 05-Oct-12 18:15<br>
              <b>To:</b> <a moz-do-not-send="true"
                class="moz-txt-link-abbreviated"
                href="mailto:fontconfig@lists.freedesktop.org">fontconfig@lists.freedesktop.org</a><br>
              <b>Subject:</b> [Fontconfig] CMakeLists.txt for fontconfig
              library (enables native compilation on windows)<br>
            </font><br>
          </div>
          <div>
            <p><font size="2">Hi,<br>
                <br>
                I've needed to debug a strange crash in
                fontconfig-2.10.1 library in my<br>
                video player on winxp.   The mingw build of fontconfig
                was not working<br>
                right, so I ended up making a cmake project for
                fontconfig (just the<br>
                library, not any of the executables).  I've used this to
                generate a<br>
                MSVS2005 solution and build fontconfig natively.  I've
                also added a very<br>
                thin portability layer to compensate for lack of
                dirent.h (and a couple<br>
                other minor things) on windows.  If anyone is interested
                I can<br>
                contribute a patch (I'll have to clean it up a little
                first).<br>
                <br>
                     Pavel.<br>
                <br>
                _______________________________________________<br>
                Fontconfig mailing list<br>
                <a moz-do-not-send="true"
                  class="moz-txt-link-abbreviated"
                  href="mailto:Fontconfig@lists.freedesktop.org">Fontconfig@lists.freedesktop.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.freedesktop.org/mailman/listinfo/fontconfig">http://lists.freedesktop.org/mailman/listinfo/fontconfig</a><br>
              </font></p>
          </div>
        </blockquote>
        <br>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>