[cmake-developers] PATCH: Adds functions to run standalone tools and to parse the command line arguments from a compile command line database as generated by CMake

Manuel Klimek klimek at google.com
Thu Apr 21 16:15:38 EDT 2011


This is the next step in building the standalone tools infrastructure:
This patch simplifies writing of standalone Clang tools. As an
example, we add clang-check, a tool that runs a syntax only frontend
action over a .cc file. When you integrate this into your favorite
editor, you get much faster feedback on your compilation errors, thus
reducing your feedback cycle especially when writing new code.

The tool depends on integration of an outstanding patch to CMake to
work (cc'ed Brad King) which allows you to always have a current
compile command database in your cmake output directory when you set
CMAKE_EXPORT_COMPILE_COMMANDS.

The change has been reviewed by Zhanyong (and to a lesser extend by Chandler).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Adds-functions-to-run-standalone-tools-and-to-parse-.patch
Type: application/octet-stream
Size: 38834 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20110421/10e55bee/attachment-0002.obj>


More information about the cmake-developers mailing list