-
Notifications
You must be signed in to change notification settings - Fork 34
/
CMakeLists.txt
59 lines (45 loc) · 1.75 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
52
53
54
55
56
57
cmake_minimum_required(VERSION 2.8.3)
project(gaitech_edu)
## 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
pocketsphinx
tf
sound_play
)
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES lab_exams
# CATKIN_DEPENDS geometry_msgs message_generation roscpp rospy std_msgs
# DEPENDS system_lib
)
## Declare ROS messages and services
#add_message_files(DIRECTORY msg FILES )
#add_service_files(DIRECTORY srv FILES )
## Generate added messages and services
#generate_messages(DEPENDENCIES std_msgs)
include_directories(
${catkin_INCLUDE_DIRS}
)
## Declare a catkin package
## Declare a cpp executable
#talker
add_executable(talker_node src/ros_basics/talker_listener/talker.cpp)
target_link_libraries (talker_node ${catkin_LIBRARIES})
#add_dependencies(talker gaitech_doc_generate_message_cpp)
#listener
add_executable(listener_node src/ros_basics/talker_listener/listener.cpp)
target_link_libraries (listener_node ${catkin_LIBRARIES})
#add_dependencies(talker gaitech_doc_generate_message_cpp)
add_executable(voice_teleop_node src/turtlebot/voice_teleop/voice_teleop.cpp)
target_link_libraries(voice_teleop_node ${catkin_LIBRARIES})
#add_executable(joy_teleop src/turtlebot/voice_teleop/joy_teleop.cpp)
#target_link_libraries(joy_teleop ${catkin_LIBRARIES})
add_executable(free_space_navigation_node src/turtlebot/navigation/free_space_navigation/free_space_navigation.cpp)
target_link_libraries(free_space_navigation_node ${catkin_LIBRARIES})
add_executable(map_navigation_node src/turtlebot/navigation/map_navigation/map_navigation.cpp)
target_link_libraries(map_navigation_node ${catkin_LIBRARIES})