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


> 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.




Back to the top