This repository has been archived by the owner on Jun 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
98 lines (72 loc) · 3.59 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
cmake_minimum_required(VERSION 2.8.3)
project(tejas)
add_compile_options(-std=c++11 -O3 -DUSE_AVX_INSTRUCTIONS=ON -fopenmp) # -DCMAKE_BUILD_TYPE=Release
# 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
std_msgs
roscpp
sensor_msgs
geometry_msgs
message_generation
tf
audio_emergency
)
add_service_files(FILES
EnvStep.srv
)
generate_messages(DEPENDENCIES
std_msgs
)
catkin_package(
CATKIN_DEPENDS
message_runtime
actionlib_msgs
)
include_directories(
${catkin_INCLUDE_DIRS}
)
add_executable(velocity_test src/velocity_test.cpp)
add_dependencies(velocity_test ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(velocity_test ${catkin_LIBRARIES})
add_executable(position_drive src/position_drive.cpp)
add_dependencies(position_drive ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(position_drive ${catkin_LIBRARIES})
add_executable(robot_control2 src/robot_control.cpp)
add_dependencies(robot_control2 ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(robot_control2 ${catkin_LIBRARIES})
add_executable(feeder_position_control src/feeder_position_control.cpp)
add_dependencies(feeder_position_control ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(feeder_position_control ${catkin_LIBRARIES})
add_executable(feeder_straight src/feeder_straight.cpp)
add_dependencies(feeder_straight ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(feeder_straight ${catkin_LIBRARIES})
add_executable(feeder_policy_drive src/feeder_policy_drive.cpp)
add_dependencies(feeder_policy_drive ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(feeder_policy_drive ${catkin_LIBRARIES})
add_executable(feeder_straight_1D src/feeder_straight_1D.cpp)
add_dependencies(feeder_straight_1D ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(feeder_straight_1D ${catkin_LIBRARIES})
add_executable(feeder_sideways src/feeder_sideways.cpp)
add_dependencies(feeder_sideways ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(feeder_sideways ${catkin_LIBRARIES})
add_executable(feeder_gmm src/feeder_gmm.cpp)
add_dependencies(feeder_gmm ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(feeder_gmm ${catkin_LIBRARIES})
add_executable(tf_caster src/tf_caster.cpp)
add_dependencies(tf_caster ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(tf_caster ${catkin_LIBRARIES})
add_executable(velocity_drive src/velocity_drive.cpp)
add_dependencies(velocity_drive ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(velocity_drive ${catkin_LIBRARIES})
add_executable(quaternion_tester src/quaternion_tester.cpp)
add_dependencies(quaternion_tester ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(quaternion_tester ${catkin_LIBRARIES})
add_executable(data_extractor src/data_extractor.cpp)
add_dependencies(data_extractor ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(data_extractor ${catkin_LIBRARIES})
add_executable(data_extractor_gmm src/data_extractor_gmm.cpp)
add_dependencies(data_extractor_gmm ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(data_extractor_gmm ${catkin_LIBRARIES})