A common repository for CMake Modules which are not distributed with CMake but are commonly used by ROS packages.
See the CONTRIBUTING.md file in this repository before submitting pull requests for new modules.
This repository is intended to be used in the ROS 2 ament build system.
- NumPy is the fundamental package for scientific computing with Python.
- TBB lets you easily write parallel C++ programs that take full advantage of multicore performance.
- TinyXML is a simple, small, C++ XML parser.
- TinyXML2 is a simple, small, C++ XML parser, continuation of TinyXML.
- Xenomai is a real-time development framework cooperating with the Linux kernel.
- GSL is a numerical library for C and C++ programmers.
- Gflags is a C++ library that implements commandline flags processing with the ability to define flags in the source file in which they are used.
To use the CMake modules provided by this ament package, you must <build_depend> on it in your package.xml, like so:
<?xml version="1.0"?>
<package>
<!-- ... -->
<build_depend>cmake_modules</build_depend>
</package>Then you must find_package the cmake_modules package directly:
find_package(cmake_modules REQUIRED)After the above find_package invocations, the modules provided by cmake_modules will be available in your CMAKE_MODULE_PATH to be found. For example you can find TinyXML by using the following:
find_package(TinyXML REQUIRED)find_package(NUMPY REQUIRED)find_package(TBB REQUIRED)find_package(TinyXML REQUIRED)find_package(Xenomai REQUIRED)find_package(GSL REQUIRED)find_package(Gflags REQUIRED)