forked from francisc0garcia/autonomous_bicycle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists_raspberry.txt
70 lines (55 loc) · 1.57 KB
/
CMakeLists_raspberry.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
cmake_minimum_required(VERSION 2.8.3)
project(autonomous_bicycle)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y")
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
std_msgs
geometry_msgs
sensor_msgs
tf
nav_msgs
visualization_msgs
dynamic_reconfigure
message_generation
)
generate_dynamic_reconfigure_options(cfg/bicycle_interaction.cfg)
add_service_files(
DIRECTORY srv
FILES
record_msg.srv
status_msg.srv
calibration_msg.srv
turn_off_msg.srv
)
add_message_files(
DIRECTORY msg
FILES
EKF_variables.msg
bicycle_state.msg
calibration_status.msg
)
generate_messages(DEPENDENCIES std_msgs)
catkin_package(DEPENDS CATKIN DEPENDS dynamic_reconfigure)
catkin_package(
INCLUDE_DIRS include
LIBRARIES autonomous_bicycle
CATKIN_DEPENDS roscpp rospy std_msgs geometry_msgs sensor_msgs
# DEPENDS system_lib
)
include_directories(
include
${catkin_INCLUDE_DIRS}
)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib )
include_directories(${Boost_INCLUDE_DIR} ${catkin_INCLUDE_DIRS})
install(TARGETS ${EXECUTABLE_NAME} DESTINATION bin)
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
FILES_MATCHING PATTERN "*.h"
)
install(DIRECTORY launch
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)