[cmake-developers] [PATCH] Enable CMAKE_EXPORT_COMPILE_COMMANDS by default

Richard Wiedenhöft richard at wiedenhoeft.xyz
Wed Mar 2 04:36:46 EST 2016


Hi,

The way I see it there is no downside to this and it spares me (and 
hopefully others) from polluting my CMakeLists.txt with 
"set(CMAKE_EXPORT_COMPILE_COMMANDS ON)" making them more readable.

There was a discussion about this in 2013 
(https://cmake.org/pipermail/cmake/2013-December/056517.html). A patch 
was never submitted and people seem to have lost interest. So here is 
the (trivial) patch.

Greetings,
Richard Wiedenhöft
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Enable-CMAKE_EXPORT_COMPILE_COMMANDS-by-default.patch
Type: text/x-patch
Size: 1299 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160302/255baa8a/attachment.bin>


More information about the cmake-developers mailing list