-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakeLists.txt
41 lines (29 loc) · 1.09 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
project(global_dq_reg)
cmake_minimum_required(VERSION 2.8)
find_package(PCL 1.7.2 EXACT)
find_package(Eigen REQUIRED)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
set(dq_diffusion_HDRS
dualquat/dual_quaternions.h
dualquat/math3d.h)
set (dq_diffusion_SRCS
dualquat/mesh.cpp
dualquat/main.cpp
dualquat/diffusion.hpp
)
include_directories(
${PCL_INCLUDE_DIRS}
${Eigen_INCLUDE_DIRS}
dualquat/
)
add_definitions("-g")
add_definitions("-Wl,--no-undefined")
#add_executable(dq_diffusion_demo ${dq_diffusion_SRCS} ${dq_diffusion_HDRS})
add_library (dq_diffusion SHARED ${dq_diffusion_HDRS} ${dq_diffusion_SRCS})
add_library(global_register_dq SHARED global_register.h global_register.cpp ${dq_diffusion_HDRS})
target_link_libraries(global_register_dq ${PCL_LIBRARIES})
add_executable(global_register main.cpp)
target_link_libraries(global_register global_register_dq ${PCL_LIBRARIES})
add_executable(compare_pcl_demo compare_pcl_demo.cpp)
target_link_libraries(compare_pcl_demo dq_diffusion ${PCL_LIBRARIES})