ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Two other 'alternatives':
catkin_tools
' profiles to store CMake and / or make
flags (this basically adds some convenience to @dornhege's suggestion)CFG_EXTRAS
file (see catkin - Developers Guide - Extracted CMake API reference - catkin_package() and this answer for some more information). This approach would require all of your other packages that need to use those flags to build_depend
on your 'shared-flags' package though.2 | No.2 Revision |
Two other 'alternatives':
catkin_tools
' profiles to store CMake and / or make
flags (this basically adds some convenience to @dornhege's suggestion)CFG_EXTRAS
file (see catkin - Developers Guide - Extracted CMake API reference - catkin_package() and this answer for some more information). This approach would require all of your other packages that need to use those flags to build_depend
on your 'shared-flags' package CMAKE_CXX_FLAGS
variable though (but most of that can be automated).