-
Notifications
You must be signed in to change notification settings - Fork 24
/
CMakeLists.txt
48 lines (39 loc) · 985 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
44
45
46
47
48
cmake_minimum_required(VERSION 2.8.3)
project(voxblox_ground_truth)
add_definitions(-std=c++11)
find_package(catkin_simple REQUIRED)
catkin_simple(ALL_DEPS_REQUIRED)
#############
# LIBRARIES #
#############
cs_add_library(${PROJECT_NAME}
src/sdf_creator.cpp
src/triangle_geometer.cpp
src/sdf_visualizer.cpp
)
##############
## BINARIES ##
##############
cs_add_executable(ply_to_sdf
src/user_interfaces/ply_to_sdf_script.cpp
src/sdf_creator.cpp
src/sdf_visualizer.cpp
src/triangle_geometer.cpp)
target_link_libraries(ply_to_sdf ${PROJECT_NAME})
#################
# GAZEBO PLUGIN #
#################
set(BUILD_GAZEBO_PLUGINS TRUE)
if (BUILD_GAZEBO_PLUGINS)
include_directories(${GAZEBO_INCLUDE_DIRS})
cs_add_library(voxblox_ground_truth_plugin SHARED
src/user_interfaces/gazebo_plugin.cpp
src/sdf_creator.cpp
src/sdf_visualizer.cpp
src/triangle_geometer.cpp)
endif ()
##########
# EXPORT #
##########
cs_install()
cs_export()