-
Notifications
You must be signed in to change notification settings - Fork 4
/
CMakeLists.txt
44 lines (35 loc) · 1016 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
42
43
cmake_minimum_required(VERSION 2.8.3)
project(systemd_ros)
find_package(catkin REQUIRED nodelet)
catkin_python_setup()
catkin_package(CATKIN_DEPENDS nodelet)
include_directories(${catkin_INCLUDE_DIRS})
add_executable(nodelet_manager nodes/nodelet_manager.cpp)
target_link_libraries(nodelet_manager ${catkin_LIBRARIES})
install(TARGETS nodelet_manager
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
install(
FILES
etc/systemd_log4cxx_no_output.conf
etc/systemd_logging_stdout.conf
etc/systemd_logging_with_rosout.conf
etc/systemd_logging_without_rosout.conf
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
install(
PROGRAMS
scripts/remote-env.sh
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
catkin_install_python(
PROGRAMS
scripts/generate-services
scripts/param-manager
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
catkin_install_python(
PROGRAMS
scripts/systemd-roscore
DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION}
)