talira

Fast, user-friendly open source build system with a readable, non-Turing-complete language

open sourceApache-2.0free

Meson is an open source build system meant to be both extremely fast and as user friendly as possible. Build definitions are written in a readable, non-Turing-complete language, and it supports Linux, macOS and Windows with GCC, Clang, Visual Studio and other compilers, for C, C++, C#, D, Fortran, Java and Rust among other languages. It's optimised for fast full and incremental builds without sacrificing correctness, cross-compiles for many operating systems and bare metal, and has a built-in dependency provider that works with distributions' packages.

Ways to install

Problems it solves

  • replace a slow, hard-to-read CMake or autotools setup for a C++ project
  • cross-compile a C project for an embedded target
  • build a GTK app with a simple build definition

Features

  • readable, non-Turing-complete build language
  • Linux, macOS and Windows with GCC, Clang, Visual Studio and more
  • C, C++, C#, D, Fortran, Java and Rust
  • fast full and incremental builds
  • cross compilation, including bare metal
  • built-in dependency provider that works with distro packages

Alternatives

The same job

These do what Meson does.

  1. CMake A powerful software build system
  2. Xmake Lua-based cross-platform build tool for C and C++ with a built-in package manager
  3. Ninja A small, fast build system whose build files are generated by tools like CMake
  4. GNU Libtool GNU's generic library support script for building shared and static libraries portably

Compare Meson with the top 3