Created
October 21, 2019 10:30
-
-
Save surinoel/c15d3774b86ff41a3ecfe6bded97f6eb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 2.8.3) | |
project(beginner_tutorials) | |
## Compile as C++11, supported in ROS Kinetic and newer | |
# add_compile_options(-std=c++11) | |
## Find catkin macros and libraries | |
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz) | |
## is used, also find other catkin packages | |
find_package(catkin REQUIRED COMPONENTS | |
roscpp | |
rospy | |
std_msgs | |
message_generation | |
) | |
################################### | |
## catkin specific configuration ## | |
################################### | |
## The catkin_package macro generates cmake config files for your package | |
## Declare things to be passed to dependent projects | |
## INCLUDE_DIRS: uncomment this if your package contains header files | |
## LIBRARIES: libraries you create in this project that dependent projects also need | |
## CATKIN_DEPENDS: catkin_packages dependent projects also need | |
## DEPENDS: system dependencies of this project that dependent projects also need | |
catkin_package( | |
# INCLUDE_DIRS include | |
# LIBRARIES beginner_tutorials | |
CATKIN_DEPENDS roscpp rospy std_msgs | |
# DEPENDS system_lib | |
) | |
########### | |
## Build ## | |
########### | |
include_directories( | |
# include | |
${catkin_INCLUDE_DIRS} | |
) | |
add_executable(hello_world_node src/hello_world_node.cpp) | |
## Specify libraries to link a library or executable target against | |
target_link_libraries(hello_world_node | |
${catkin_LIBRARIES} | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<package format="2"> | |
<name>beginner_tutorials</name> | |
<version>0.0.0</version> | |
<description>The beginner_tutorials package</description> | |
<!-- One maintainer tag required, multiple allowed, one person per tag --> | |
<!-- Example: --> | |
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> --> | |
<maintainer email="[email protected]">neol</maintainer> | |
<!-- One license tag required, multiple allowed, one license per tag --> | |
<!-- Commonly used license strings: --> | |
<!-- BSD, MIT, Boost Software License, GPLv2, GPLv3, LGPLv2.1, LGPLv3 --> | |
<license>TODO</license> | |
<buildtool_depend>catkin</buildtool_depend> | |
<build_depend>roscpp</build_depend> | |
<build_depend>rospy</build_depend> | |
<build_depend>std_msgs</build_depend> | |
<build_export_depend>roscpp</build_export_depend> | |
<build_export_depend>rospy</build_export_depend> | |
<build_export_depend>std_msgs</build_export_depend> | |
<build_export_depend>message_generation</build_export_depend> | |
<exec_depend>roscpp</exec_depend> | |
<exec_depend>rospy</exec_depend> | |
<exec_depend>std_msgs</exec_depend> | |
<exec_depend>message_generation</exec_depend> | |
<!-- The export tag contains other, unspecified, tags --> | |
<export> | |
<!-- Other tools can request additional information be placed here --> | |
</export> | |
</package> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment