forked from raiinboow/Camera_Data_Processing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
51 lines (42 loc) · 1.11 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
# project name
PROJECT(camera_data_processing)
# requirement of cmake version
cmake_minimum_required(VERSION 3.5)
# set the directory of executable files
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${opencv_test_SOURCE_DIR}/bin)
# find required opencv
find_package(OpenCV REQUIRED)
# directory of opencv headers
include_directories(${OpenCV_INCLUDE_DIRS})
# name of executable file and path of source file
add_executable(camera_data_processing
src/main.cpp
src/Lane.cpp
src/CameraModel.cpp
src/Detection.cpp
src/Utility.cpp
src/RScamera.cpp
src/Disparity.cpp
src/Motion.cpp
src/Visualization.cpp
src/GroundFilter.cpp
src/ObjectFilter.cpp
src/ObjectDetector.cpp
src/CameraObjectDetection.cpp
src/MonoDetector.cpp
src/ELAS/descriptor.cpp
src/ELAS/elas.cpp
src/ELAS/filter.cpp
src/ELAS/matrix.cpp
src/ELAS/triangle.cpp
)
# include files
INCLUDE_DIRECTORIES(SYSTEM ${CMAKE_CURRENT_SOURCE_DIR}/include)
# directory of opencv library
link_directories(${OpenCV_LIBRARY_DIRS})
# libraries
target_link_libraries(
realsense_cv
${OpenCV_LIBS}
realsense2
)