Add top-level CMakeLists.txt, configure script and Makefile #34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow-up of #13. Partially addresses #27, #30, #32, ...
Obvously we also have to update the website http://www.orocos.org/, because lots of information found there is actually outdated.
Instead of a complex and hard to maintain shell script (#13) I propose to use CMake's powerful ExternalProject module to build and install the individual subprojects in their own build directories in the correct dependency order.
AutoProj never really worked for me, partially because it depended on newer Ruby versions than the ones available with Ubuntu LTS releases. But I have to admit that I have not tried recently. A pure CMake approach seems to be more appropriate for most users. Installation of dependencies is left to the user (still needs more detailed documentation). But of course I am open to also add or link instructions on how to optionally build the toolchain with AutoProj.
By default the current CMake config tries to checkout the branches with the same name as the current branch in the
orocos_toolchain
repo. This can be overwritten by adding-DGIT_TAG=<branch or tag>
to theconfigure
script or directly tocmake
.For non-ROS users the patch also requires #33 because the current version of orocos_toolchain/CMakeLists.txt depends on
catkin
and configuration fails ifcatkin
cannot be found in theCMAKE_PREFIX_PATH
. ROS users would probably build and install withcatkin_make_isolated
or catkin_tools instead, so the new top-level CMake config and scripts are of limited use.