File tree Expand file tree Collapse file tree 5 files changed +72
-1
lines changed Expand file tree Collapse file tree 5 files changed +72
-1
lines changed Original file line number Diff line number Diff line change 1
1
target_sources (${CMAKE_PROJECT_NAME}
2
2
PRIVATE
3
+ GDALHelper.cc
4
+ GDALHelper.h
3
5
KMLDomDocument.cc
4
6
KMLDomDocument.h
5
7
KMLHelper.cc
@@ -25,3 +27,33 @@ CPMAddPackage(
25
27
)
26
28
27
29
target_link_libraries (${CMAKE_PROJECT_NAME} PRIVATE shp)
30
+
31
+ #===========================================================================#
32
+
33
+ # CPMAddPackage(
34
+ # NAME PROJ
35
+ # VERSION 9.6.0
36
+ # GITHUB_REPOSITORY OSGeo/PROJ
37
+ # GIT_TAG 9.6.0
38
+ # OPTIONS
39
+ # "BUILD_EXAMPLES OFF"
40
+ # "BUILD_SHARED_LIBS OFF"
41
+ # "BUILD_TESTING OFF"
42
+ # )
43
+
44
+ CPMAddPackage(
45
+ NAME GDAL
46
+ GITHUB_REPOSITORY OSGeo/gdal
47
+ VERSION 3.11.1
48
+ OPTIONS
49
+ "BUILD_APPS OFF"
50
+ "BUILD_SHARED_LIBS OFF"
51
+ "BUILD_TESTING OFF"
52
+ "GDAL_BUILD_OPTIONAL_DRIVERS OFF"
53
+ "OGR_BUILD_OPTIONAL_DRIVERS OFF"
54
+ "GDAL_USE_HDFS OFF"
55
+ "CMAKE_DISABLE_FIND_PACKAGE_HDFS ON"
56
+ "GDAL_USE_ZLIB_INTERNAL ON"
57
+ )
58
+
59
+ target_link_libraries (${CMAKE_PROJECT_NAME} PRIVATE GDAL::GDAL)
Original file line number Diff line number Diff line change
1
+ /* ***************************************************************************
2
+ *
3
+ * (c) 2009-2024 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
4
+ *
5
+ * QGroundControl is licensed according to the terms in the file
6
+ * COPYING.md in the root of the source code directory.
7
+ *
8
+ ****************************************************************************/
9
+
10
+ #include " GDALHelper.h"
11
+
12
+ #include " gdal/gdal.h"
13
+
14
+ namespace GDALHelper
15
+ {
16
+
17
+ }
Original file line number Diff line number Diff line change
1
+ /* ***************************************************************************
2
+ *
3
+ * (c) 2009-2024 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
4
+ *
5
+ * QGroundControl is licensed according to the terms in the file
6
+ * COPYING.md in the root of the source code directory.
7
+ *
8
+ ****************************************************************************/
9
+
10
+ #pragma once
11
+
12
+ namespace GDALHelper
13
+ {
14
+
15
+ }
Original file line number Diff line number Diff line change @@ -110,6 +110,13 @@ if apt-cache show gstreamer1.0-qt6 >/dev/null 2>&1; then
110
110
apt-get install -y -qq --no-install-recommends gstreamer1.0-qt6
111
111
fi
112
112
113
+ # --------------------------------------------------------------------
114
+ # GDAL
115
+ # --------------------------------------------------------------------
116
+ apt-get install -y -qq --no-install-recommends \
117
+ libproj-dev \
118
+ proj-bin
119
+
113
120
# --------------------------------------------------------------------
114
121
# Clean‑up
115
122
# --------------------------------------------------------------------
Original file line number Diff line number Diff line change 8
8
fi
9
9
10
10
brew update
11
- brew install cmake ninja ccache git pkgconf create-dmg mold
11
+ brew install cmake ninja ccache git pkgconf create-dmg mold proj
12
12
13
13
# Install GStreamer
14
14
GST_URL=https://gstreamer.freedesktop.org/data/pkg/osx
You can’t perform that action at this time.
0 commit comments