Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Catkin Simple

Simon Lynen edited this page Mar 13, 2014 · 9 revisions

Catkin simple is a set of macros that can be used in normal catkin packages. The main idea is to simplify the CMakeLists of catkin packages in several ways:

  • Dependencies are just listed once as build-depend in the package.xml, not also as run-depend etc.
  • Dependencies do not need to be listed again in the CMakeLists.txt
  • Explicit linking of dependencies is not needed anymore (e.g. no target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES}) needed)
  • Explicit inclusion of catkin include not needed anymore (e.g. no include_directories(${catkin_INCLUDES}) needed)
  • Export and installation commands are both one-liners.

A description of catkin simple can be found here: https://github.com/catkin/catkin_simple/blob/master/README.md

A very simple example project that depends on sm_common can be found here: https://github.com/simonlynen/catkin_and_catkin_simple

Clone this wiki locally