33 lines
676 B
CMake
33 lines
676 B
CMake
cmake_minimum_required(VERSION 2.8.3)
|
|
project(svo_msgs)
|
|
|
|
# search for everything we need to build the messages, dont forget the message_generation
|
|
find_package(catkin REQUIRED COMPONENTS
|
|
message_generation
|
|
geometry_msgs
|
|
sensor_msgs
|
|
)
|
|
|
|
|
|
|
|
# notify catkin to look at the previously found msg files
|
|
add_message_files(
|
|
FILES
|
|
Info.msg
|
|
)
|
|
|
|
# build the header files from the msg files, and notify catkin about the dependencies
|
|
generate_messages(
|
|
DEPENDENCIES
|
|
geometry_msgs
|
|
sensor_msgs
|
|
)
|
|
|
|
# export the dependencis of this package for who ever depends on us
|
|
catkin_package(
|
|
CATKIN_DEPENDS message_runtime geometry_msgs
|
|
)
|
|
|
|
include_directories(
|
|
${catkin_INCLUDE_DIRS}
|
|
) |