[cfe-dev] How to use AST Matchers without using ninja?

Joerg Sonnenberger joerg at britannica.bec.de
Sun Jul 12 07:25:41 PDT 2015


On Fri, Jul 10, 2015 at 10:58:12AM -0600, Richard wrote:
> 
> In article <CAK1QooqEK4OodJ=1=c5qrf-emmmi0yXnftjCV-zN0=wV5rTwVQ at mail.gmail.com>,
>     Meador Inge <meadori at gmail.com> writes:
> 
> > I am familiar with using pkg-config in Unix & Linux land, but I have no idea
> > how that translates to Windows.  As such, I wasn't completely convinced
> > that a pkg-config solution would be a good fit for all our main platforms.
> 
> IMO, CMake based solutions are more useful for all platforms and
> pkg-config solutions are only useful for unix platforms.

A new clang-config program is certainly not a cmake-based solution.
There are standalone pkg-config versions for Windows and it is the
prefered way of dealing with this kind of problems on Unix. There is
pre-existing cmake logic for dealing with pkg-config. As such, I believe
it is a good idea to avoid reinventing the wheel.

Joerg



More information about the cfe-dev mailing list