freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] FT_USE_MODULE proper usage?


From: Vinnie
Subject: Re: [ft-devel] FT_USE_MODULE proper usage?
Date: Mon, 26 Mar 2012 08:10:40 -0700 (PDT)

>Perhaps your amalgamation tool should add
>
>  #ifdef __FOO_C__
>  ... contents of file `foo.c'
>  #endif
>
>to all files, and a special header file (based on `modules.cfg' and
>ftmodule.h) can then control the parts which are really compiled.

Oh! That's easily done. The amalgamation for FreeType includes a special header 
and source file template that has the #include lines for all sources. Adding 
#ifdef lines to that file is trivial.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]