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.

Subpages

Overview of the Meson build system

Building a project with meson

How to use meson in Visual Studio

Simple project step by step explanation

Syntax and structure of Meson files

Definition of build targets

Instructions on handling include directories

Installing targets

Adding compiler arguments

Build-time configuration options

No summary available

Dependencies for external libraries and frameworks

Enabling thread support

Running external commands

Using precompiled headers to reduce compilation time

Unity builds are a technique for reducing build times

Auto-detection of features like ccache and code coverage

Generation of source files before compilation

Meson's own unit-test system

Setting up cross-compilation

Localization with GNU Gettext

Build options to configure project properties

Using meson projects as subprojects within other meson projects

Meson modules for common build operations

Compiling Java programs

Compiling Vala and Genie programs

Meson's API to integrate Meson support into an IDE

Build targets for custom languages or corner-cases

Converting other build systems to Meson

Configuring a pre-generated build directory

Targets to run external commands

Creating releases

Tools to create OS X packages

Creating universal Linux binaries

The results of the search are