-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
41 lines (27 loc) · 864 Bytes
/
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
cmake_minimum_required(VERSION 3.5)
project(icart_mini_driver)
find_package(ament_cmake_auto REQUIRED)
ament_auto_find_build_dependencies()
# ament_auto_add_library(${PROJECT_NAME} SHARED
# src/icart_mini_driver_node.cpp)
# add_executable(icart_mini_driver src/icart_mini_driver_node.cpp)
ament_auto_add_executable(icart_mini_driver
src/icart_mini_driver_node.cpp)
target_link_libraries(icart_mini_driver ypspur)
target_include_directories(icart_mini_driver
PUBLIC ${ypspur_INCLUDE_DIRS})
# install(FILES scripts/ypspur_coordinator_bridge
# DESTINATION ${PROJECT_NAME}/scripts)
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
endif()
# install(
# PROGRAMS script.sh
# DESTINATION lib/${PROJECT_NAME})
ament_auto_package(
INSTALL_TO_SHARE
config
launch
scripts
)