[LLVMdev] migrating from autoconf to cmake+ninja

Carsten Mattner carstenmattner at gmail.com
Fri Sep 5 01:05:23 PDT 2014


On Thu, Sep 4, 2014 at 3:10 PM, Dan Liew <dan at su-root.co.uk> wrote:
>> It worked and "ninja install" put the stuff in the right target directory but
>> clang-analyzer is not there. Does anybody know why that happened
>> with a Cmake build?
>
> I've never used the clang-analyzer but I presume you're talking about
> the stuff in ``tools/scan-view`` and ``tools/scan-build``? There's no
> CMakeLists.txt files in those directories and I can't find any
> CMakeLists.txt files that reference those directories. The
> Autoconf/Makefile build system doesn't seem to touch them either so
> maybe I'm looking at the wrong thing.

You're right I was copying it in a separate step in my ./configure based
build script. But how does everyone else install the clang-anlyzer tools?
I also manually create symlinks for bin/scan-view, bin/scan-build.



More information about the llvm-dev mailing list