The Meson Build system Meson is an open source build system meant to be both extremely fast, and, even more importantly, as user friendly as possible The main design point of Meson is that every moment a developer spends writing or debugging build definitions is a second wasted
The Absolute Beginners Guide to Installing and Using Meson This page is meant for people who are new to using Meson and possibly even to compiling C and or C++ code in general It is meant to contain one simple way of getting your build environment up and running
Quickstart Guide - Meson To compile any given configuration, just go into the corresponding build directory and run meson compile Meson will automatically add compiler flags to enable debug information and compiler warnings (i e -g and -Wall)
Tutorial - Meson This page shows from the ground up how to create a Meson build definition for a simple project Then we expand it to use external dependencies to show how easily they can be integrated into your project
Getting Meson We provide an MSI installer on the GitHub release page that can be used to install both Meson and Ninja at once for Windows It also contains an embedded copy of Python, so scripts that use the Python module and do not have any external dependencies will continue to work as expected
Reference manual - Meson This is the root page of the online Meson reference manual This manual is also available in a more machine readable format as a JSON documented attached to every release since 0 60 0
An in-depth tutorial - Meson An in-depth tutorial In this tutorial we set up a project with multiple targets, unit tests and dependencies between targets Our main product is a shared library called foo that is written in C++11 We are going to ignore the contents of the source files, as they are not really important from a build definition point of view The library makes use of the GLib library so we need to detect and
Manual - Meson Manual This is the user manual for Meson It currently tracks the state of Git head If you are using an older version, some of the information here might not work for you
Built-in options - Meson Meson provides two kinds of options: build options provided by the build files and built-in options that are either universal options, base options, compiler options
CMake module - Meson Meson automatically detects CMake build targets, which can be accessed with the methods listed below It is usually enough to just use the dependency object returned by the dependency() method in the build targets