Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] CMake support in Eclipse CDT

On Wednesday, December 02, 2015 10:25:32 Jesper Eskilson wrote:

...

> CMake has support for writing out compilation commands to a JSON file.

> The variable to switch this on is called CMAKE_EXPORT_COMPILE_COMMANDS.

> See

> http://public.kitware.com/pipermail/cmake-developers/2012-June/004374.html.

> However, it is not publicly documented and probably only works on some

> generators.

 

yes, it "only" lists the actual commands, but e.g. not the targets built by the project etc, or the type of the toolchain (gcc or Intel or clang etc.), which would be useful for proper error parsing.

 

Alex

 


Back to the top