[cfe-dev] clang-query Makefile

Peter Collingbourne peter at pcc.me.uk
Tue Feb 18 11:51:59 PST 2014


On Tue, Feb 18, 2014 at 09:46:03AM +0000, Alex Horn wrote:
> Hello,
> 
> Currently, clang-query only supports CMake. Attached is a small patch that
> adds a Makefile.

Thanks, r201599.

> I should say that I'm not a build system expert and there may have been
> very well a reason why the file wasn't there yet. In particular, I suspect
> USEDLIBS would have to be tweaked manually unless there is some automatic
> way of finding (or double-checking) the dependencies of a clang project.

The original reason why this didn't have a makefile was that the clang-query
tool used to be built conditionally as it had a direct dependency on libedit,
and this was awkward to manage with the makefile build system. That dependency
has now been moved to LLVM (and is now optional) so we can now just build
the tool unconditionally in the makefile.

Thanks,
-- 
Peter



More information about the cfe-dev mailing list