colcon build -- but only running CMake configure?

asked 2022-01-19 03:02:26 -0500

kvik gravatar image

updated 2022-01-19 03:03:48 -0500

Is it possible to instruct colcon to only run the configuration step of cmake-based packages?

The use case I have in mind is having the compile-commands.json database generated for easy exploration of different ROS distro packages sets, without necessarily needing them fully built. This probably wouldn't work for all packages, in particular those using generator expressions.

edit retag flag offensive close merge delete