This will modify the default behavior to select BUILD_IDLC based on
whether Maven is discovered or not.
The behavior when `-DBUILD_IDLC` is specified on the command line remains
unchanged - the build will maintain the current behavior of failing to
configure if `BUILD_IDLC=ON` and Maven was later not found.
This reverts (part of) commit 860a6aadae.
Signed-off-by: Scott K Logan <logans@cottsay.net>
This will eliminate two large dependencies when building CycloneDDS with
colcon for ROS 2, which doesn't appear to need the IDLC.
Signed-off-by: Scott K Logan <logans@cottsay.net>
* Add a colcon.pkg file to override the CMake package name
Without this file, colcon will take the project name from the
CMakeLists.txt file, which is `CycloneDDS`. This name does not conform
to the standard practices for a ROS package name, and should be
lowercase (i.e. `cyclonedds`).
This `colcon.pkg` will make colcon detect the package dependencies using
this name.
Signed-off-by: Scott K Logan <logans@cottsay.net>
* Drop unneeded package type
This isn't needed as colcon can detect the package type as `cmake`
without it.
Signed-off-by: Scott K Logan <logans@cottsay.net>