Files
MapLibreParticleLab/platform/macos
Bart Louwers e4a4b9ec67 macOS Metal + AppKit app (#2205)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-02 01:52:19 +02:00
..
2024-04-02 01:52:19 +02:00
2024-04-02 01:52:19 +02:00
2023-07-26 17:50:34 +02:00
2023-07-26 17:50:34 +02:00
2024-04-02 01:52:19 +02:00
2024-04-02 01:52:19 +02:00
2024-04-02 01:52:19 +02:00
2024-04-02 01:52:19 +02:00
2024-04-02 01:52:19 +02:00

MapLibre Native for macOS

GitHub Action build status

Clone the repo:

git clone --recurse-submodules git@github.com:maplibre/maplibre-native.git

Install needed tooling and dependencies with Homebrew. See macos-ci.yml for the most up-to-date dependencies.

Optionally configure Bazel:

cp platform/darwin/bazel/example_config.bzl platform/darwin/bazel/config.bzl

Create and open Xcode project:

bazel run //platform/macos:xcodeproj --@rules_xcodeproj//xcodeproj:extra_common_flags="--//:renderer=metal
xed platform/macos/MapLibre.xcodeproj

Build and run AppKit sample app directly from the command line:

bazel run //platform/macos/app:macos_app --//:renderer=metal

The MapLibre Organization does not officially support the macOS to the same extent as iOS (see project tiers). However, bug reports and pull requests are certainly welcome.