forked from tue-robotics/ed_gui_server
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
63 lines (54 loc) · 1.32 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
62
63
cmake_minimum_required(VERSION 2.8.3)
project(ed_gui_server)
find_package(catkin REQUIRED COMPONENTS
ed
geometry_msgs
message_generation
rgbd
tf
urdf
visualization_msgs
)
find_package(Boost REQUIRED COMPONENTS filesystem)
add_message_files(
FILES
Color.msg
EntityInfo.msg
EntityInfos.msg
Mesh.msg
Area.msg
EntityMeshAndAreas.msg
Polygon.msg
)
add_service_files(
FILES
GetEntityInfo.srv
Interact.srv
QueryEntities.srv
QueryMeshes.srv
)
generate_messages(
DEPENDENCIES
geometry_msgs
)
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES bla
# CATKIN_DEPENDS other_catkin_pkg
# DEPENDS system_lib
CATKIN_DEPENDS ed geometry_msgs message_runtime rgbd tf urdf visualization_msgs
)
include_directories(
${catkin_INCLUDE_DIRS}
)
add_library(ed_gui_server_plugin
src/gui_server_plugin.cpp
src/robot.cpp
)
target_link_libraries(ed_gui_server_plugin ${catkin_LIBRARIES})
add_dependencies(ed_gui_server_plugin ${catkin_EXPORTED_TARGETS})
add_dependencies(ed_gui_server_plugin ${PROJECT_NAME}_generate_messages_cpp)
add_executable(ed_rviz_publisher tools/rviz_publisher.cpp)
target_link_libraries(ed_rviz_publisher ${catkin_LIBRARIES})
add_dependencies(ed_rviz_publisher ${catkin_EXPORTED_TARGETS})
add_dependencies(ed_rviz_publisher ${PROJECT_NAME}_generate_messages_cpp)