Go to file
Jussi Pakkanen ef180676c2 Add command line switch to print version number. 2015-03-13 22:42:47 +02:00
cross Fix ARM strip binary path. 2013-08-31 01:05:35 +03:00
data Create simple Emacs major mode. 2014-11-24 23:58:44 +02:00
man Bumped version number for release. 2015-01-19 21:44:58 +02:00
manual tests Added an example of how to create OSX installers. 2015-03-10 17:12:54 +02:00
modules Made Qt5 module do just preprocessing instead of building full executable, so it is composable with e.g. gettext and flex modules (when they appear). 2015-03-13 19:38:53 +02:00
test cases Persist modules so they are imported only once for the lifetime of a build directory. 2015-03-13 19:55:09 +02:00
tools Convert project name. 2014-06-14 00:39:15 +03:00
.gitattributes Created a git attributes file. 2014-06-07 15:03:40 +03:00
.gitignore Added an example of how to create OSX installers. 2015-03-10 17:12:54 +02:00
COPYING Start of project. 2012-12-23 16:35:35 +02:00
authors.txt An implementation of build_always as slightly modified from the original by Axel Waggershauser. 2015-02-07 14:48:38 +02:00
backends.py Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
build.py Persist modules so they are imported only once for the lifetime of a build directory. 2015-03-13 19:55:09 +02:00
commandrunner.py Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
compilers.py Now can compile all Qt5 tests with module. 2015-03-09 19:39:12 +02:00
contributing.txt Tests are fun. 2014-11-17 22:22:20 +02:00
coredata.py Persist modules so they are imported only once for the lifetime of a build directory. 2015-03-13 19:55:09 +02:00
create_release.sh A script to create source tarballs. 2014-06-07 15:08:06 +03:00
delwithsuffix.py Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
dependencies.py Now can compile all Qt5 tests with module. 2015-03-09 19:39:12 +02:00
depfixer.py Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
environment.py Made gtest and gmock work properly on 64 bit Fedora, which uses /usr/lib64. Fixes #40. 2015-02-26 19:12:53 +02:00
install_meson.py A very simple module implementation to get things going. 2015-03-04 23:53:35 +02:00
interpreter.py Fix pipelining. 2015-03-13 19:59:12 +02:00
meson.py Add command line switch to print version number. 2015-03-13 22:42:47 +02:00
meson_install.py Fix destdir for install targets. Closes #32. 2015-02-04 22:11:46 +02:00
meson_test.py And finally use argparse in meson_test. Closes #47. 2015-03-02 17:11:29 +02:00
mesonconf.py Use argparse in mesonconf.py. 2015-03-02 16:55:39 +02:00
mesongui.py Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
mesonintrospect.py Use argparse in introspector. 2015-03-02 17:05:34 +02:00
mesonlib.py Made gtest and gmock work properly on 64 bit Fedora, which uses /usr/lib64. Fixes #40. 2015-02-26 19:12:53 +02:00
mesonmain.ui Display options in a form. 2013-09-29 18:17:07 +03:00
mesonrunner.ui UI file for external program runner. 2013-09-27 22:12:55 +03:00
mesonstart.ui Set up directories with launcher. 2013-09-29 19:35:39 +03:00
mlog.py Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
mparser.py Removed shebang lines from files that are not executable. 2015-01-25 02:43:59 +02:00
ninjabackend.py Fix generators with multiple files. 2015-03-11 22:25:41 +02:00
optinterpreter.py Verify that option names do not have invalid characters. 2014-12-21 21:34:26 +02:00
readme.txt Created a contribution info file. 2014-11-16 22:52:37 +02:00
run_cross_test.py Use lib as library path in unit tests. 2015-02-16 01:24:58 +02:00
run_tests.py Use argparse instead of optparse in run_tests. 2015-03-02 16:19:49 +02:00
rustrunner.py Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
symbolextractor.py User optparse in symbolextractor. 2015-03-02 17:02:26 +02:00
vcstagger.py added support for optional custom command and replace_string parameter of vcs_tag 2015-02-11 03:27:40 +01:00
vs2010backend.py Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
wrap.py Make directories in build tree, too. 2015-02-06 18:58:37 +02:00
xcodebackend.py Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00

readme.txt

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


Dependencies

Python   http://python.org (version 3.3 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.  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.


Contributing

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


Further info

The home page of Meson can be found here:

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

Meson is a registered trademark of Jussi Pakkanen