# Revision history [back]

Okay so first I discovered I could run catkin_make like 4 times and then it will build all the proper header files in the include directory, but obviously that didn't solve the issue. So I searched for "catkin_make multiple times site:ros.org" and I found the solution.

cmake_minimum_required(VERSION 2.8.3)
project(mobility)

find_package(catkin REQUIRED COMPONENTS
geometry_msgs
roscpp
sensor_msgs
std_msgs
random_numbers
message_generation
)

FILES
Resource.msg
Pose2D.msg
Status.msg
)

generate_messages(
DEPENDENCIES
std_msgs
)

catkin_package(
CATKIN_DEPENDS geometry_msgs roscpp sensor_msgs std_msgs random_numbers
message_runtime
)

add_dependencies(mobility ${catkin_EXPORTED_TARGETS}) target_link_libraries( mobility${catkin_LIBRARIES}

add_dependencies(mobility \${catkin_EXPORTED_TARGETS})