Skip to content


Subversion checkout URL

You can clone with
Download ZIP
The Meson Build System
Python C C++ Vala Shell FORTRAN Other
Failed to load latest commit information.
cross Added cpu family property to system information.
data rpm macros: export *FLAGS
graphics Logo tweaking.
man Bump version number for release.
manual tests Fix manual tests using
modules Fix gtkdoc. We had to disable the test but on the other hand we have …
test cases Do not use linker arguments on static libraries.
tools A few more checks for converter.
.gitattributes Created a git attributes file.
.gitignore Made output test results in junit xml to allow better in…
COPYING Start of project.
authors.txt Gracefully handle missing machine info. Can use built exes in custom targets. Can store ext deps to internal deps. Closes #304. Wait properly. Yet another step in the neverending saga of -Wpedantic.
contributing.txt trivial: fix urls after repo migration Bump version number for new development. Bump version number for release. Harmonised copyright declarations. Added pkg-config logging statement. depfixer: Instance of XXX has no XXX member Refactored builtin options to a dictionary and created a new default … Can use built exes in custom targets. Minor cleanup for consistency. Do not cache paths of found external libraries. Closes #312. Yet another step in the neverending saga of -Wpedantic. Allow more than one install script and make gtkdoc method return one. More robust output decoding. Closes #289. Print lib type list properly. Refactored option classes to mesonlib. Created a stringarray option type and added Windows system libs optio… Turned builtin options into proper objects.
mesonmain.ui Display options in a form.
mesonrunner.ui UI file for external program runner.
mesonstart.ui Set up directories with launcher. Do not invoke linker via cmd /c on Windows. Add support for subscripting array objects with []. Fix Rust. Enhance help
readme.txt Readme tweaking. Bump version number for new development. Fix cross compilation tests. Added conf option for build tree layout. More robust windows detection and more logs. added support for optional custom command and replace_string paramete… Use all the extra flags in vs2010 projects. Use plain http connections to wrapdb when ssl is not working (i.e. on… Use plain http connections to wrapdb when ssl is not working (i.e. on… Added outdir() method to build targets so we can make output dirs tog…


Meson® is project to create the best possible next-generation
build system.


Python (version 3.4 or newer)

Installing from source

You can run Meson directly from a revision control checkout or an
extracted tarball.  Installing it system-wide is simple.

Configure step: None
Compile step:   None
Unit test step: ./
Install step:   [sudo] ./ --prefix /your/prefix --destdir /destdir/path

The default value of prefix is /usr/local. The default value of destdir
is empty. 


Meson requires that you have a source directory and a build directory
and that these two are different. In your source root must exist a file
called ''. To generate the build system run this command:

meson <source directory> <build directory>

You can omit either of the two directories, and Meson will substitute
the current directory and autodetect what you mean. This allows you to
do things like this:

cd source_root; mkdir build; cd build; meson ..
cd source_root; mkdir build; meson build

To compile, cd into your build directory and type 'ninja'. To run unit
tests, type 'ninja test'.

Install is the same but it can take an extra argument:

DESTDIR=/destdir/path ninja install

DESTDIR can be omitted. If you are installing to system directories,
you may need to run this command with sudo.


We love code contributions. See the contributing.txt file for


The irc channel for Meson is #mesonbuild over at freenode.

Further info

The home page of Meson can be found here:

Meson is a registered trademark of Jussi Pakkanen
Something went wrong with that request. Please try again.