Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 935 Bytes

Build-on-Mac.md

File metadata and controls

30 lines (18 loc) · 935 Bytes

Building Workflow for macOS

Requirements

Warning

GCC is not supported. (It might work, but if you find issues, you need to solve them by yourself.)

Install Meson and Ninja

You can install meson and ninja via Homebrew. (brew install meson ninja)

Note

If you are a Python user, you can also get them via pip. (pip3 install meson ninja)

Build

Run bash shell_scripts/build.sh. The executable will be generated in build/Release/. You can also use shell_scripts/build_universal.sh instead of build.sh to build universal binary.

Debug

If you want a debug build, run bash shell_scripts/build.sh Debug on the terminal.

Test

To build tests, type bash shell_scripts/test.sh or bash shell_scripts/test.sh Debug on the terminal.