-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
50 lines (36 loc) · 804 Bytes
/
CMakeLists.txt
File metadata and controls
50 lines (36 loc) · 804 Bytes
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
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
set(CMAKE_AUTOMOC ON)
project(main)
find_package(PCL 1.7 REQUIRED)
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
INCLUDE_DIRECTORIES(includes)
INCLUDE_DIRECTORIES(source)
SET(SOURCE
main.cpp
src/timedate.cpp
src/Functions.cpp
src/cloudoperations.cpp
src/segmentor.cpp
src/projection.cpp
)
SET(HEADERS
includes/timedate.h
includes/Functions.h
includes/cloudoperations.h
includes/constants.h
includes/segmentor.h
includes/projection.h
)
ADD_EXECUTABLE(
main
${SOURCE}
${HEADERS}
${PCL_DIR}
)
target_link_libraries(
${PROJECT_NAME}
${PCL_LIBRARIES}
)