Skip to content
The Meson Build System
Python C C++ Vala Shell FORTRAN Other
Latest commit 6a3e29c @jpakkane jpakkane If test exes can not be removed (because e.g. an antivirus program ho…
…lds on to the file), just leave them behind. Closes #378.
Failed to load latest commit information.
cross Added cpu family property to system information.
data rpm macros: export *FLAGS
graphics Logo tweaking.
man Updated versions for release.
manual tests Fix manual tests using host.name()
mesonbuild If test exes can not be removed (because e.g. an antivirus program ho…
test cases Can add languages only if they are available. Closes #365.
tools A few more checks for converter.
.gitattributes Created a git attributes file.
.gitignore Fix some issues that break pypi installs and bump version to upload n…
COPYING Start of project.
MANIFEST.in Tweak setup.py includes.
authors.txt Adding myself to authors.txt
contributing.txt trivial: fix urls after repo migration
meson Renamed meson package to mesonbuild so that we can have a script name…
mesonconf Renamed meson package to mesonbuild so that we can have a script name…
mesongui Renamed meson package to mesonbuild so that we can have a script name…
mesonintrospect Renamed meson package to mesonbuild so that we can have a script name…
readme.txt Some text tweaks.
run_cross_test.py Renamed meson package to mesonbuild so that we can have a script name…
run_tests.py Renamed meson package to mesonbuild so that we can have a script name…
setup.py Tweak setup.py includes.
wraptool Fix wraptool.

readme.txt

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


Dependencies

Python   http://python.org (version 3.4 or newer)
Ninja    http://martine.github.com/ninja/


Installing from source

You can run Meson directly from a revision control checkout or an
extracted tarball. Meson is also available from PyPi, so it can
be installed with 'pip install meson'.


Running

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 'meson.build'. 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.


Contributing

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


IRC

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


Further info

The home page of Meson can be found here:

http://mesonbuild.com

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