Commit graph

5 commits

Author SHA1 Message Date
Scott K Logan
eeeea486c8 fixup! Allow BUILD_IDLC to be 'AUTO' based on Maven presence
Signed-off-by: Scott K Logan <logans@cottsay.net>
2019-11-14 09:59:47 +01:00
Scott K Logan
94524bfd76 Set default BUILD_IDLC based on presence of Maven
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>
2019-11-14 09:59:47 +01:00
Scott K Logan
860a6aadae Drop IDLC when building with colcon
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>
2019-10-22 22:37:40 +02:00
Dan Rose
03491c503d Switch from colcon.pkg to package.xml and add build-time dependencies.
Signed-off-by: Dan Rose <dan@digilabs.io>
2019-09-18 13:51:14 +02:00
Scott K Logan
1c8c2944ff Add a colcon.pkg file to override the CMake package name (#242)
* 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>
2019-08-30 11:26:33 +02:00