[cmake-developers] [PATCH] Enable CMAKE_EXPORT_COMPILE_COMMANDS by default
Brad King
brad.king at kitware.com
Mon Mar 7 13:07:05 EST 2016
On 03/02/2016 04:36 AM, Richard Wiedenhöft wrote:
> 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.
The down side is it takes longer to generate and not everyone wants
the rules, especially in very large projects with lots of compilations.
There is ongoing discussion in other threads about improved IDE
and tooling integration. In the long run that work will eliminate
the need for this option altogether.
-Brad
More information about the cmake-developers
mailing list