Skip to content
Snippets Groups Projects
Commit 026a858d authored by Truong Giang Vo's avatar Truong Giang Vo
Browse files

Replace CMakeLists.txt

parent 0b30d3cf
No related branches found
No related tags found
1 merge request!10Giang
cmake_minimum_required(VERSION 2.8.3) cmake_minimum_required(VERSION 2.8.3)
project(ttt_executor) project(socrates_workshop)
## Compile as C++11, supported in ROS Kinetic and newer ## Compile as C++11, supported in ROS Kinetic and newer
# add_compile_options(-std=c++11) # add_compile_options(-std=c++11)
...@@ -9,12 +9,14 @@ project(ttt_executor) ...@@ -9,12 +9,14 @@ project(ttt_executor)
## is used, also find other catkin packages ## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS find_package(catkin REQUIRED COMPONENTS
roscpp roscpp
rospy
std_msgs std_msgs
geometry_msgs geometry_msgs
sensor_msgs sensor_msgs
iri_wam_common_msgs iri_wam_common_msgs
iri_common_drivers_msgs iri_common_drivers_msgs
actionlib actionlib
message_generation
) )
## System dependencies are found with CMake's conventions ## System dependencies are found with CMake's conventions
...@@ -51,18 +53,19 @@ find_package(catkin REQUIRED COMPONENTS ...@@ -51,18 +53,19 @@ find_package(catkin REQUIRED COMPONENTS
## * add every package in MSG_DEP_SET to generate_messages(DEPENDENCIES ...) ## * add every package in MSG_DEP_SET to generate_messages(DEPENDENCIES ...)
## Generate messages in the 'msg' folder ## Generate messages in the 'msg' folder
#add_message_files( # add_message_files(
# FILES # FILES
# Cell.msg # Cell.msg
# Message2.msg # Message2.msg
#) # )
## Generate services in the 'srv' folder ## Generate services in the 'srv' folder
# add_service_files( add_service_files(
# FILES FILES
# SetObjType.srv MiniMax.srv
# GetCellPose.srv IntInt.srv
# ) Board.srv
)
## Generate actions in the 'action' folder ## Generate actions in the 'action' folder
# add_action_files( # add_action_files(
...@@ -72,12 +75,12 @@ find_package(catkin REQUIRED COMPONENTS ...@@ -72,12 +75,12 @@ find_package(catkin REQUIRED COMPONENTS
# ) # )
## Generate added messages and services with any dependencies listed here ## Generate added messages and services with any dependencies listed here
#generate_messages( generate_messages(
# DEPENDENCIES DEPENDENCIES
# std_msgs std_msgs
# sensor_msgs # sensor_msgs
# geometry_msgs # geometry_msgs
#) )
################################################ ################################################
## Declare ROS dynamic reconfigure parameters ## ## Declare ROS dynamic reconfigure parameters ##
...@@ -109,10 +112,10 @@ find_package(catkin REQUIRED COMPONENTS ...@@ -109,10 +112,10 @@ find_package(catkin REQUIRED COMPONENTS
## CATKIN_DEPENDS: catkin_packages dependent projects also need ## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need ## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package( catkin_package(
INCLUDE_DIRS include # INCLUDE_DIRS include
# LIBRARIES ttt_executor # LIBRARIES ttt_executor
CATKIN_DEPENDS roscpp std_msgs sensor_msgs geometry_msgs iri_wam_common_msgs iri_common_drivers_msgs CATKIN_DEPENDS roscpp rospy std_msgs message_runtime geometry_msgs iri_wam_common_msgs iri_common_drivers_msgs
DEPENDS system_lib # DEPENDS system_lib
) )
########### ###########
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment