-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
89 lines (79 loc) · 2.21 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
cmake_minimum_required(VERSION 3.25)
project(EFTDEM)
set(CMAKE_CXX_STANDARD 20)
add_executable(EFTDEM
main.cpp
DataStructures.cpp
GLHandler.cpp
GLHandler.h
ClosingFilter.cpp
ClosingFilter.h
Pipeline.cpp
Pipeline.h
ICloudSorter.h
ICloudReader.h
ICloudRasterizer.h
IHeightMapFiller.h
IHeightMapWriter.h
IPipelineComponent.h
MobileMappingReader.cpp
MobileMappingReader.h
GTiffWriter.cpp
GTiffWriter.h
SorterCpu.cpp
SorterCpu.h
RasterizerCpu.cpp
RasterizerCpu.h
RasterizerGpu.cpp
RasterizerGpu.h
SorterGpu.cpp
SorterGpu.h
IKernelBasedFilter.h
IKernelBasedFilter.cpp
InverseDistanceWeightedFilter.h
InverseDistanceWeightedFilter.cpp
ConfigProvider.cpp
ConfigProvider.h
GroundRadarReader.cpp
GroundRadarReader.h
FillerLoop.cpp
FillerLoop.h
ClosingFilter.cpp
ClosingFilter.h
RadarComparator.cpp
RadarComparator.h
TiffPipeline.cpp
TiffPipeline.h
GroundTruthComparator.cpp
GroundTruthComparator.h
IComparator.cpp
IComparator.h
IPipeline.h
GTiffReader.cpp
RadialFiller.cpp
RadialFiller.h
DummyFiller.cpp
DummyFiller.h
GradientBasedFiller.cpp
GradientBasedFiller.h
ICloudReader.cpp)
if(MSVC)
target_compile_options(EFTDEM PRIVATE /W4)
else()
target_compile_options(EFTDEM PRIVATE -Wall -Wextra -Wpedantic)
endif()
find_package(GDAL CONFIG REQUIRED)
find_package(glfw3 CONFIG REQUIRED)
find_package(glbinding CONFIG REQUIRED)
find_package(OpenGL REQUIRED)
find_package(magic_enum CONFIG REQUIRED)
find_package(yaml-cpp CONFIG REQUIRED)
#GTiff
target_link_libraries(EFTDEM PRIVATE GDAL::GDAL)
#OpenGL
target_link_libraries(EFTDEM PRIVATE glbinding::glbinding glbinding::glbinding-aux OpenGL::GL glfw)
target_compile_definitions(EFTDEM PRIVATE ${DEFAULT_COMPILE_DEFINITIONS} GLFW_INCLUDE_NONE)
#magic_enum
target_link_libraries(EFTDEM PRIVATE magic_enum::magic_enum)
#yaml-cpp
target_link_libraries(EFTDEM PRIVATE yaml-cpp)