-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
30 lines (22 loc) · 857 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
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(IntrepidPCL)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_HOME_DIRECTORY}/bin)
find_package(PCL 1.8 REQUIRED)
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
# Main program
add_executable (intrepid src/intrepid.cpp)
target_link_libraries (intrepid ${PCL_LIBRARIES})
# Text to PCD
add_executable (ttp src/txt-to-pcd.cpp)
target_link_libraries (ttp ${PCL_LIBRARIES})
# PCD to VTK (via GreedyTriangulation)
add_executable (ptv src/pcd-to-vtk.cpp)
target_link_libraries (ptv ${PCL_LIBRARIES})
# Generate unit cube in first octant
add_executable(cube src/cube.cpp)
# Using Marching Cubes to reconstruct a mesh
add_executable (mcr src/mcr.cpp)
target_link_libraries (mcr ${PCL_LIBRARIES})
add_executable (vtp src/vtk2ply.cpp)
target_link_libraries (vtp ${PCL_LIBRARIES})