catkin/CMakeLists.txt - ROS Wiki
Overview
The file CMakeLists.txt is the input to the CMake build system for building software packages. Any CMake-compliant package contains one or more CMakeLists.txt file that describe how to build the code and where to install it to. The CMakeLists.txt file used for a catkin project is a standard vanilla CMakeLists.txt file with a few additional constraints.
Overall Structure and Ordering
Your CMakeLists.txt file MUST follow this format otherwise your packages will not build correctly. The order in the configura