-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
61 lines (50 loc) · 2.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
58
59
60
61
cmake_minimum_required(VERSION 3.0.2)
project(hrii_robothon_byod)
set(CMAKE_BUILD_TYPE Release)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(catkin REQUIRED COMPONENTS
roscpp
eigen_conversions
hrii_gri_interface
hrii_robothon_msgs
hrii_trajectory_planner
message_generation
)
find_package(Eigen3 REQUIRED)
catkin_package(
INCLUDE_DIRS include
CATKIN_DEPENDS
hrii_trajectory_planner
hrii_gri_interface
hrii_robothon_msgs
)
include_directories(
include
${catkin_INCLUDE_DIRS}
${Eigen3_INCLUDE_DIRS}
)
add_executable(${PROJECT_NAME}_main_byod src/main_byod.cpp)
set_target_properties(${PROJECT_NAME}_main_byod PROPERTIES OUTPUT_NAME "main_byod")
add_dependencies(${PROJECT_NAME}_main_byod ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(${PROJECT_NAME}_main_byod ${catkin_LIBRARIES})
add_executable(${PROJECT_NAME}_homing_byod src/tasks/homing_byod.cpp)
set_target_properties(${PROJECT_NAME}_homing_byod PROPERTIES OUTPUT_NAME "homing_byod")
add_dependencies(${PROJECT_NAME}_homing_byod ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(${PROJECT_NAME}_homing_byod ${catkin_LIBRARIES})
add_executable(${PROJECT_NAME}_battery_opening_byod src/tasks/battery_opening_byod.cpp)
set_target_properties(${PROJECT_NAME}_battery_opening_byod PROPERTIES OUTPUT_NAME "battery_opening_byod")
add_dependencies(${PROJECT_NAME}_battery_opening_byod ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(${PROJECT_NAME}_battery_opening_byod ${catkin_LIBRARIES})
add_executable(${PROJECT_NAME}_power_on_voltmeter_byod src/tasks/power_on_voltmeter_byod.cpp)
set_target_properties(${PROJECT_NAME}_power_on_voltmeter_byod PROPERTIES OUTPUT_NAME "power_on_voltmeter_byod")
add_dependencies(${PROJECT_NAME}_power_on_voltmeter_byod ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(${PROJECT_NAME}_power_on_voltmeter_byod ${catkin_LIBRARIES})
add_executable(${PROJECT_NAME}_probe_circuit_byod src/tasks/probe_circuit_byod.cpp)
set_target_properties(${PROJECT_NAME}_probe_circuit_byod PROPERTIES OUTPUT_NAME "probe_circuit_byod")
add_dependencies(${PROJECT_NAME}_probe_circuit_byod ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(${PROJECT_NAME}_probe_circuit_byod ${catkin_LIBRARIES})
add_executable(${PROJECT_NAME}_battery_screening_byod src/tasks/battery_screening_byod.cpp)
set_target_properties(${PROJECT_NAME}_battery_screening_byod PROPERTIES OUTPUT_NAME "battery_screening_byod")
add_dependencies(${PROJECT_NAME}_battery_screening_byod ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(${PROJECT_NAME}_battery_screening_byod ${catkin_LIBRARIES})