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
Package managers
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.
- CMake A powerful software build system
- Xmake Lua-based cross-platform build tool for C and C++ with a built-in package manager
- Ninja A small, fast build system whose build files are generated by tools like CMake
- GNU Libtool GNU's generic library support script for building shared and static libraries portably
