[cfe-dev] Using 'scan-build' with 'cmake' projects
Konstantin Tokarev
annulen at yandex.ru
Sun Apr 17 11:42:51 PDT 2011
17.04.2011, 22:05, "John Smith" <lbalbalba at gmail.com>:
> Hi.
>
> Im trying to run 'scan-build' on a project (unity) that uses 'cmake'
> instead of GNU make. However, I just cant seem to get scan-build to
> use clang instead of cmake.
Right, because CMake is not a make replacement but Makefile or
Xcode project generator.
Have you tried scan-build on "make" stage of cmake project build?
--
Regards,
Konstantin
More information about the cfe-dev
mailing list