Commit 71d20a05 authored by olivier stasse's avatar olivier stasse
Browse files

Catkinization.

parent 81427c56
cmake_minimum_required(VERSION 2.4.6)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
cmake_minimum_required(VERSION 2.8.3)
project(dynamic_graph_bridge_msgs)
set(ROS_BUILD_TYPE RelWithDebInfo)
#List to make rest of code more readable
set( MESSAGE_DEPENDENCIES std_msgs )
rosbuild_init()
#Declare build dependencies
find_package(catkin REQUIRED
COMPONENTS
message_generation
${MESSAGE_DEPENDENCIES} )
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
#Add message files
add_message_files(DIRECTORY msg FILES Matrix.msg Vector.msg)
rosbuild_genmsg()
rosbuild_gensrv()
#Add service files
add_service_files(DIRECTORY srv
FILES
RunCommand.srv
RunPythonFile.srv)
#And now generate the messages
generate_messages(DEPENDENCIES ${MESSAGE_DEPENDENCIES})
# Generate catkin/pkg-config import information
catkin_package( CATKIN_DEPENDS message_runtime ${MESSAGE_DEPENDENCIES} )
\ No newline at end of file
<package>
<description brief="Dynamic graph bridge messages and services">
<name>dynamic_graph_bridge_msgs</name>
<version>0.2.0</version>
<description>
Dynamic graph bridge messages and services.
</description>
<maintainer email="ostasse@laas.fr">Olivier Stasse</maintainer>
<author>Pierre Gergondet</author>
<license>BSD</license>
<review status="unreviewed" notes=""/>
<url>https://ros.org/wiki/dynamic_graph_bridge_msgs</url>
<buildtool_depend>catkin</buildtool_depend>
<build_depend>message_generation</build_depend>
<build_depend>roscpp</build_depend>
<build_depend>std_msgs</build_depend>
<run_depend>message_runtime</run_depend>
<run_depend>roscpp</run_depend>
<run_depend>rospy</run_depend>
<run_depend>std_msgs</run_depend>
<export>
<rosdoc config="rosdoc.yaml" />
</export>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment