> 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.
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.
> 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.It might be better to ask on the clang mailing list about this. Just as a side note it should be very easy to teach the CMake build system to install the scan-view and scan-build scripts. I'm not sure if people in general want this though. Thanks, Dan.