-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
109 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
[submodule "maplibre-native-qt"] | ||
path = maplibre-native-qt | ||
url = https://github.com/maplibre/maplibre-native-qt.git | ||
[submodule "libzip"] | ||
path = libzip | ||
url = https://github.com/nih-at/libzip.git | ||
[submodule "zlib"] | ||
path = zlib | ||
url = https://github.com/madler/zlib.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
# Fail on first error | ||
set -e | ||
|
||
|
||
for PLATFORM in android_armv7 android_arm64_v8a android_x86 android_x86_64 | ||
do | ||
echo | ||
echo "Android ARMv7" | ||
|
||
$Qt6_DIR_BASE/$PLATFORM/bin/qt-cmake \ | ||
-S maplibre-native-qt \ | ||
-B build-maplibre-native-qt-$PLATFORM \ | ||
-G Ninja \ | ||
-DBUILD_TESTING=OFF \ | ||
-DCMAKE_C_COMPILER_LAUNCHER="ccache" \ | ||
-DCMAKE_CXX_COMPILER_LAUNCHER="ccache" \ | ||
-DCMAKE_PREFIX_PATH=$Qt6_DIR_BASE/$PLATFORM \ | ||
-DCMAKE_INSTALL_PREFIX=$Qt6_DIR_BASE/$PLATFORM | ||
cmake --build build-maplibre-native-qt-$PLATFORM | ||
cmake --install build-maplibre-native-qt-$PLATFORM | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/bash | ||
|
||
# Fail on first error | ||
set -e | ||
|
||
|
||
echo | ||
echo "zlib - static for arm64 and x86_64 on iOS" | ||
|
||
$Qt6_DIR_BASE/ios/bin/qt-cmake \ | ||
-G Ninja \ | ||
-S zlib \ | ||
-B build-zlib-iOS \ | ||
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \ | ||
-DCMAKE_INSTALL_PREFIX=$Qt6_DIR_BASE/ios | ||
cmake --build build-zlib-iOS | ||
cmake --install build-zlib-iOS | ||
|
||
echo | ||
echo "libzip - static for arm64 and x86_64 on iOS" | ||
|
||
$Qt6_DIR_BASE/ios/bin/qt-cmake \ | ||
-G Ninja \ | ||
-S libzip \ | ||
-B build-libzip-iOS \ | ||
-DBUILD_DOC=OFF \ | ||
-DBUILD_EXAMPLES=OFF \ | ||
-DBUILD_REGRESS=OFF \ | ||
-DBUILD_SHARED_LIBS=OFF \ | ||
-DBUILD_TOOLS=OFF \ | ||
-DENABLE_BZIP2=OFF \ | ||
-DENABLE_LZMA=OFF \ | ||
-DENABLE_ZSTD=OFF \ | ||
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \ | ||
-DCMAKE_INSTALL_PREFIX=$Qt6_DIR_BASE/ios | ||
cmake --build build-libzip-iOS | ||
cmake --install build-libzip-iOS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
# Fail on first error | ||
set -e | ||
|
||
|
||
echo | ||
echo "Linux Desktop" | ||
|
||
$Qt6_DIR_BASE/gcc_64/bin/qt-cmake \ | ||
-S maplibre-native-qt \ | ||
-B build-maplibre-native-qt-linux \ | ||
-G Ninja \ | ||
-DMLN_QT_WITH_INTERNAL_ICU=ON \ | ||
-DBUILD_TESTING=OFF \ | ||
-DCMAKE_C_COMPILER_LAUNCHER="ccache" \ | ||
-DCMAKE_CXX_COMPILER_LAUNCHER="ccache" \ | ||
-DCMAKE_PREFIX_PATH=$Qt6_DIR_BASE/gcc_64 \ | ||
-DCMAKE_INSTALL_PREFIX=$Qt6_DIR_BASE/gcc_64 | ||
cmake --build build-maplibre-native-qt-linux | ||
cmake --install build-maplibre-native-qt-linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
# Fail on first error | ||
set -e | ||
|
||
|
||
echo | ||
echo "maplibre for macOS Desktop" | ||
|
||
$Qt6_DIR_BASE/macos/bin/qt-cmake \ | ||
-S maplibre-native-qt \ | ||
-B build-maplibre-native-qt-macOS \ | ||
-G Ninja \ | ||
-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" \ | ||
-DBUILD_TESTING=OFF \ | ||
-DCMAKE_C_COMPILER_LAUNCHER="ccache" \ | ||
-DCMAKE_CXX_COMPILER_LAUNCHER="ccache" \ | ||
-DCMAKE_INSTALL_PREFIX=$Qt6_DIR_BASE/macos | ||
cmake --build build-maplibre-native-qt-macOS | ||
cmake --install build-maplibre-native-qt-macOS |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.