colcon / colcon-cmake

Extension for colcon to support CMake packages
http://colcon.readthedocs.io
Apache License 2.0
16 stars 26 forks source link

only generate workspace-level compile_commands.json when CMake was invoked #88

Closed dirk-thomas closed 4 years ago

dirk-thomas commented 4 years ago

Fixes #81.

It not only skips the (re-)generation of the workspace-level compile_commands.json file when colcon test is invoked as described in the referenced ticket but also skips it when e.g. only non-CMake packages are being built.

mikepurvis commented 4 years ago

This does the thing for me now, sans workaround. Thanks!