-
Notifications
You must be signed in to change notification settings - Fork 5
/
CMakeLists.txt
142 lines (130 loc) · 3.52 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
cmake_minimum_required(VERSION 3.1)
# TAMSVIZ
# (c) 2020 Philipp Ruppel
project(tamsviz)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O3")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Os")
set(CMAKE_CXX_STANDARD 11)
find_package(OpenCV REQUIRED)
find_package(ASSIMP REQUIRED)
set(ROS_BUILD_TYPE RelWithDebInfo)
find_package(Qt5 REQUIRED Core Widgets OpenGL)
set(QT_LIBRARIES Qt5::Widgets Qt5::OpenGL)
find_package(catkin REQUIRED COMPONENTS
camera_info_manager
cv_bridge
eigen_conversions
geometry_msgs
interactive_markers
moveit_core
moveit_ros_planning
moveit_ros_planning_interface
moveit_ros_robot_interaction
resource_retriever
rosbag
roscpp
std_msgs
laser_geometry
tf
image_transport
)
catkin_package(
CATKIN_DEPENDS
camera_info_manager
cv_bridge
geometry_msgs
interactive_markers
moveit_core
moveit_ros_planning
moveit_ros_planning_interface
moveit_ros_robot_interaction
resource_retriever
rosbag
roscpp
std_msgs
eigen_conversions
laser_geometry
)
include_directories(
${catkin_INCLUDE_DIRS}
)
find_package(Boost REQUIRED COMPONENTS program_options)
add_executable(${PROJECT_NAME}
src/annotations/image.cpp
src/annotations/scene.cpp
src/components/environment.cpp
src/components/rendering.cpp
src/core/bagplayer.cpp
src/core/component.cpp
src/core/document.cpp
src/core/event.cpp
src/core/handle.cpp
src/core/history.cpp
src/core/interaction.cpp
src/core/loader.cpp
src/core/log.cpp
src/core/message.cpp
src/core/mparser.cpp
src/core/mquery.cpp
src/core/object.cpp
src/core/profiler.cpp
src/core/property.cpp
src/core/serialization.cpp
src/core/snapshot.cpp
src/core/struct.cpp
src/core/timeseries.cpp
src/core/topic.cpp
src/core/tracks.cpp
src/core/transformer.cpp
src/core/type.cpp
src/core/variant.cpp
src/core/watcher.cpp
src/core/workspace.cpp
src/displays/axes.cpp
src/displays/drvcam.cpp
src/displays/frame.cpp
src/displays/geometry.cpp
src/displays/grid.cpp
src/displays/interactive.cpp
src/displays/laserscan.cpp
src/displays/light.cpp
src/displays/marker.cpp
src/displays/mesh.cpp
src/displays/plot.cpp
src/displays/pointcloud.cpp
src/displays/robot.cpp
src/displays/shapes.cpp
src/displays/text.cpp
src/displays/transform.cpp
src/gui/displaytree.cpp
src/gui/guicommon.cpp
src/gui/imagewindow.cpp
src/gui/mainwindow.cpp
src/gui/plotwindow.cpp
src/gui/propertygrid.cpp
src/gui/renderthread.cpp
src/gui/renderwindow.cpp
src/gui/scenewindow.cpp
src/gui/searchwidget.cpp
src/gui/splitwindow.cpp
src/gui/timeline.cpp
src/render/framebuffer.cpp
src/render/imageloader.cpp
src/render/mesh.cpp
src/render/opengl.cpp
src/render/renderbuffer.cpp
src/render/renderer.cpp
src/render/renderlist.cpp
src/render/rendertarget.cpp
src/render/resource.cpp
src/render/shader.cpp
src/render/texture.cpp
src/render/transformations.cpp
src/render/uniformbuffer.cpp
src/scene/material.cpp
src/scene/mesh.cpp
src/scene/node.cpp
)
add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${OpenCV_LIBS} ${Boost_LIBRARIES} ${QT_LIBRARIES} ${ASSIMP_LIBRARIES} -lGL -lEGL -lGLEW yaml-cpp)