Meson (software)

Meson
Developer(s)Jussi Pakkanen
Initial release2 March 2013 (2013-03-02)
Stable release
1.8.0[1] Edit this on Wikidata / 28 April 2025 (28 April 2025)
Repository
Written inPython
Operating systemCross-platform
TypeSoftware development tools
LicenseApache License 2.0
Websitemesonbuild.com Edit this on Wikidata

Meson (/ˈmɛ.sɒn/)[2] is a software build automation tool for building a codebase. Meson adopts a convention over configuration approach to minimize the data required to configure the most common operations.[3] Meson is free and open-source software under the Apache License 2.0.[4]

Meson is written in Python and runs on Unix-like (including Linux and macOS), Windows and other operating systems. It supports building C, C++, C#, CUDA, Objective-C, D, Fortran, Java, Rust, and Vala.[5] It handles dependencies via a mechanism named Wrap. It supports GNU Compiler Collection (gcc), Clang, Visual C++ and other compilers, including non-traditional compilers such as Emscripten and Cython.[6] The project uses ninja as the primary backend buildsystem, but can also use Visual Studio or Xcode backends.

Meson's support for Fortran and Cython was improved to help various scientific projects in their switch from setuptools to Meson, for example SciPy.[7] Meson can be used as a PEP517 backend to build Python wheels, via the meson-python package.[8]

  1. ^ "1.8.0". 28 April 2025. Retrieved 30 April 2025.
  2. ^ "Making build systems not suck (linux.conf.au video)". YouTube. 16 January 2015.
  3. ^ Cite error: The named reference suse was invoked but never defined (see the help page).
  4. ^ "mesonbuild/meson: The Meson Build System". GitHub. Retrieved 13 April 2016.
  5. ^ "Reference manual".
  6. ^ "Compiler IDs".
  7. ^ "How to build SciPy with Meson".
  8. ^ "meson-python package on PyPI".

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search