The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Jussi Pakkanen 01f8a1455e Generators work in subdirectories. 10 years ago
cross
man Bump version number for release and no longer install to a versioned directory because the packages are not coinstallable anyway. 11 years ago
test cases Generators work in subdirectories. 10 years ago
tools Convert project name. 11 years ago
.gitattributes Created a git attributes file. 11 years ago
.gitignore Ignore file grooming. 11 years ago
COPYING
backends.py More betterer sorting. 11 years ago
build.py Can set per-target cs args. 11 years ago
commandrunner.py Add in this file that I forgot. 11 years ago
coredata.py Added option for werror. 11 years ago
create_release.sh A script to create source tarballs. 11 years ago
delwithsuffix.py
dependencies.py Better description for Qt5 tools. 11 years ago
depfixer.py
environment.py Build type flags for C#. 11 years ago
install_meson.py Bump version number for release and no longer install to a versioned directory because the packages are not coinstallable anyway. 11 years ago
interpreter.py Generators work in subdirectories. 10 years ago
meson.py Added option for werror. 11 years ago
meson_install.py Can set install time rpath. 11 years ago
meson_test.py JSON test output is now one line per test case. 11 years ago
mesonconf.py One more off by one error. 11 years ago
mesongui.py The mass flags -> args renaming for consistency. 11 years ago
mesonintrospect.py Introspect script understands runtargets. 11 years ago
mesonmain.ui
mesonrunner.ui
mesonstart.ui
mlog.py
mparser.py Parse function and method calls properly. 11 years ago
ninjabackend.py More betterer sorting. 11 years ago
optinterpreter.py Added option for werror. 11 years ago
readme.txt Update home page address. 11 years ago
run_cross_test.py
run_tests.py Vestigial removal. 11 years ago
rustrunner.py Deal with Rust static libraries, too. 11 years ago
symbolextractor.py
vs2010backend.py Some vs2010 fixes. 11 years ago
xcodebackend.py The mass flags -> args renaming for consistency. 11 years ago

readme.txt

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

Dependencies

Python 3.3: http://python.org
Ninja: http://martine.github.com/ninja/

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: ./run_tests.py
Install step: [sudo] ./install_meson.py --prefix /your/prefix --destdir /destdir/path

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

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 mean that you
can do things like this:

cd source_root; mkdir build; cd build; meson.py ..
cd source_root; mkdir build; meson.py 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.


Further info

The home page of Meson can be found here:

https://jpakkane.github.io/meson/