colcon / colcon-cmake

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

add option --cmake-target-skip-unavailable #17

Closed dirk-thomas closed 6 years ago

dirk-thomas commented 6 years ago

The CMake invocation cmake --build . --cmake-target foo fails when foo is not a valid target in the project. When building a whole ROS 1 workspace we want to build only the tests using the target tests. Since some packages might not have any tests the target isn't always available. Hence we need this new option to just skip packages which don't have the requested target.