macos-dev-setup.md

March 14, 2025 ยท View on GitHub

Requirements:

  • macOS 10.15 or newer
  • Command Line Tools for Xcode or Xcode: xcode-select --install or manual download
  • CMake 3.17 (or newer)
  • Ninja
  • Git

(Git, Ninja, and CMake can be installed via HomeBrew)

Caution

Unix Makefiles are not working. Please use Ninja to build.

Caution

Motis' dependency management pkg requires that the project is cloned via SSH using an SSH key without a passphrase. See:

To build motis:

git clone git@github.com:motis-project/motis.git
cd motis
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja ..
ninja