-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
54 lines (39 loc) · 1.04 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
cmake_minimum_required(VERSION 2.8.3)
project(ros_polysync_bridge)
#cmake_policy(SET CMP0054 NEW)
include( polysync_build_res.cmake )
find_package(catkin REQUIRED COMPONENTS
roscpp
std_msgs
sensor_msgs
message_generation
)
## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)
add_message_files(
FILES
IbeoObject2.msg
IbeoObjectArray.msg
LaneModel.msg
LaneModelAll.msg
RadarTrack.msg
RadarTrackArray.msg
LidarPoint.msg
LidarPointArray.msg
)
generate_messages(
DEPENDENCIES
std_msgs
)
catkin_package(
# INCLUDE_DIRS include
CATKIN_DEPENDS message_runtime roscpp sensor_msgs std_msgs
)
include_directories(
${catkin_INCLUDE_DIRS}
${PSYNC_INCLUDE_DIRS}
)
add_executable( ${PROJECT_NAME} src/ros_polysync_bridge_node.cpp )
add_dependencies(${PROJECT_NAME} ros_polysync_bridge_generate_messages_cpp)
target_link_libraries( ${PROJECT_NAME} ${catkin_LIBRARIES} ${PSYNC_LIBS} )
#target_link_libraries( ${PROJECT_NAME} ${catkin_LIBRARIES} )