HRI-EU / Rcs

Rcs is a set of C and C++ libraries for robot control and simulation
BSD 3-Clause "New" or "Revised" License
38 stars 14 forks source link

Create CMake package config #1

Closed Xfel closed 6 years ago

Xfel commented 6 years ago

This allows to use Rcs libraries from other projects by find_package(Rcs).

It only provides configurations for the build tree. In order to use it, the build directory must be on the CMAKE_PACKAGE_PATH. Alternatively, set the option WRITE_PACKAGE_REGISTRY during the build of Rcs to write the current build directory to the cmake package registry, then it can be found by anyone on the same system.