[CMake] Make CMAKE_EXPORT_COMPILE_COMMANDS not default?
Alexander Neundorf
a.neundorf-work at gmx.net
Sun Dec 8 15:55:19 EST 2013
On Sunday 08 December 2013, Stephen Kelly wrote:
> Alexander Neundorf wrote:
> > It sounds to me a bit more like it should be an additional "extra"
> > generator, i.e. generate makefiles/ninja files and additionally this json
> > file.
>
> Hmm, the first thing I thought when I saw your kate project feature was
> that it should be implemented more like CMAKE_EXPORT_COMPILE_COMMANDS.
>
> Otherwise there's a combinatorial explosion of extra generators. There
> would have to be a 'MinGW Makefiles - Kate Project - ExportCommands'
> generator etc.
this could easily be avoided by modifying it so that the user can choose them
freely, i.e. first choose the main generator, and then add the extra generator
if suitable, instead of having only the "complete" generators ("Makefile +
CodeBlocks") to choose from.
Alex
More information about the CMake
mailing list