forked from zincalex/POLO-CV
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
52 lines (41 loc) · 1.04 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
51
52
cmake_minimum_required(VERSION 3.8)
project(main)
set(CMAKE_CXX_STANDARD 17)
find_package( OpenCV REQUIRED )
include_directories( ${OpenCV_INCLUDE_DIRS} )
add_library(ImgProcessing
include/ImageProcessing.hpp
src/ImageProcessing.cpp
)
add_library(Graphics
include/Graphics.hpp
src/Graphics.cpp
)
add_library(BBox
include/BoundingBox.hpp
src/BoundingBox.cpp
)
add_library(ParkingSpaceDetector
include/ParkingSpaceDetector.hpp
src/ParkingSpaceDetector.cpp
)
add_library(ParkingLotStatus
include/ParkingLotStatus.hpp
src/ParkingLotStatus.cpp
)
add_library(Segmentation
include/Segmentation.hpp
src/Segmentation.cpp
)
add_library(Xml
include/XMLReader.hpp
src/XMLReader.cpp
)
add_library(Metrics
include/Metrics.hpp
src/Metrics.cpp
)
add_executable(${PROJECT_NAME}
src/main.cpp
)
target_link_libraries(${PROJECT_NAME} ${OpenCV_LIBS} ParkingSpaceDetector ParkingLotStatus Xml Metrics BBox ImgProcessing Segmentation Graphics)