-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
52 lines (38 loc) · 1.34 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
cmake_minimum_required(VERSION 2.8.3)
project(active_perception)
find_package(catkin REQUIRED COMPONENTS roscpp sensor_msgs std_msgs image_transport cv_bridge) #This line is modified by Pourya Hoseini
#######
####################################
# My additions: Pourya Hoseini #
find_package( catkin REQUIRED COMPONENTS cv_bridge image_transport roscpp sensor_msgs std_msgs
# message_generation
tf image_geometry rospy moveit_ros_planning_interface moveit_msgs
active_vision_msgs)
#########################
#PointCloud library setup
find_package( PCL REQUIRED )
include_directories( ${PCL_INCLUDE_DIRS} )
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
#########################
#set the include directory to the generated header files for messaging over ROS
set(MESSAGING_INCLUDE_DIRECTORY ./devel/include)
# add_service_files(
# FILES
# Vision_Service.srv
#)
#add_message_files(
# FILES
# Vision_Message.msg
#)
#generate_messages(
# DEPENDENCIES
# std_msgs
# geometry_msgs
#)
catkin_package( CATKIN_DEPENDS cv_bridge image_transport roscpp sensor_msgs std_msgs
#message_runtime
tf image_geometry rospy)
include_directories(${catkin_INCLUDE_DIRS} ${MESSAGING_INCLUDE_DIRECTORY})
add_subdirectory(SourceCode)
#target_link_libraries(${CURRENT_CMAKE_DIR}/SourceCode/${PROJECT_NAME} ${catkin_LIBRARIES})