[cmake-developers] Adding the OpenRAVE library module
Brad King
brad.king at kitware.com
Wed Apr 13 12:05:31 EDT 2011
On 04/13/2011 11:32 AM, Rosen Diankov wrote:
> ok, the changes you are proposing sound exciting! perhaps this can be
> a start for a truly cross platform package management system ;0)
If only ;)
> so is the best approach for now to create a minimal FindOpenRAVE.cmake
> to give to user, and put FindOpenRAVEConfig.cmake in
> $installprefix/lib/cmake/?
The name "FindOpenRAVEConfig" makes no sense. The files are:
- FindOpenRAVE.cmake goes in user applications and contains basically
find_package(OpenRAVE NO_MODULE PATHS ${REGISTRY_ENTRIES})
- OpenRAVEConfig.cmake goes in the directory
<prefix>/lib/cmake/OpenRAVE-${VERSION}
- OpenRAVEConfigVersion.cmake goes in next to the config file.
http://www.cmake.org/Wiki/CMake/Tutorials/Packaging#Package_Version_Files
-Brad
More information about the cmake-developers
mailing list