meson

SCons-like build system that uses Python as a front-end language and Ninja as a building backend. More information: <https://mesonbuild.com>.

Install

All systems
curl cmd.cat/meson.sh
Debian Debian
apt-get install meson
Ubuntu
apt-get install meson
Alpine
apk add meson
Arch Arch Linux
pacman -S meson
image/svg+xml Kali Linux
apt-get install meson
Fedora
dnf install meson
Windows (WSL2)
sudo apt-get update sudo apt-get install meson
OS X
brew install meson
Raspbian
apt-get install meson
Docker
docker run cmd.cat/meson meson powered by Commando

SCons-like build system that uses Python as a front-end language and Ninja as a building backend. More information: <https://mesonbuild.com>.

  • Generate a C project with a given name and version:
    meson init --language=c --name=myproject --version=0.1
  • Configure the `builddir` with default values:
    meson setup build_dir
  • Build the project:
    meson compile -C path/to/build_dir
  • Run all tests in the project:
    meson test
  • Show the help:
    meson --help
  • Show version info:
    meson --version

© tl;dr; authors and contributors