Go to file
Jussi Pakkanen 3a282890bc Minor gtest detector fix. 2013-09-30 18:29:47 +03:00
cross Fix ARM strip binary path. 2013-08-31 01:05:35 +03:00
man Updated version number for new development. 2013-09-01 00:36:46 +03:00
test cases Added installed_files.txt files to all places that needed them. 2013-09-13 21:06:09 +03:00
.gitignore Tweaked gitignore. 2013-06-20 18:14:47 +03:00
COPYING Start of project. 2012-12-23 16:35:35 +02:00
backends.py Regenerate when coredata changes (e.g. via mesongui). 2013-09-27 23:18:11 +03:00
build.py Strip holders from ext deps. 2013-09-28 19:50:15 +03:00
compile_meson.py Removed some more -tt flags. 2013-06-16 14:09:44 +03:00
coredata.py Now can generate mo files from po files and install them. 2013-09-12 19:53:32 +03:00
delwithsuffix.py Helper app to delete files with a given suffix. 2013-03-24 21:11:02 +02:00
dependencies.py Minor gtest detector fix. 2013-09-30 18:29:47 +03:00
depfixer.py Whoopsie. 2013-08-24 21:59:23 +03:00
environment.py Removed gcc debug stl because it is too easy to shoot yourself in the foot with. 2013-09-28 16:16:18 +03:00
install_meson.py Install UI files. 2013-09-27 21:14:48 +03:00
interpreter.py Fix cross compilation. 2013-09-29 18:56:37 +03:00
meson.py Fill build target data. 2013-09-27 19:38:09 +03:00
meson_install.py Now can generate mo files from po files and install them. 2013-09-12 19:53:32 +03:00
meson_test.py Transfer test parallelism data from source to test runner. 2013-09-13 00:50:45 +03:00
mesongui.py Show install status of targets. 2013-09-29 20:21:49 +03: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 Added debug logging path. 2013-08-11 14:38:32 +03:00
mparser.py Precedence fix. 2013-08-10 02:11:29 +03:00
nodes.py Cleaner, simpler elif. 2013-07-27 17:58:17 +03:00
readme.txt Update readme to say that Python 3.3 is required. 2013-04-01 20:50:05 +03:00
run_cross_test.py Better build type introspection. 2013-08-30 23:43:27 +03:00
run_tests.py Indent fix. 2013-09-29 18:50:02 +03:00
symbolextractor.py Updated symbolextractor to work with cross builds. 2013-08-24 00:30:13 +03:00

readme.txt

This is an experiment to examine what would be
the optimal syntax for a cross-platform build
system.

Dependencies

Python 3.3: http://python.org
Python-Ply: http://www.dabeaz.com/ply/ply.html
Ninja:      http://martine.github.com/ninja/

Installing from source

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

Configure step: None
Compile step:   ./compile_meson.py
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.


Contact info

All questions should be sent to the mailing list:
https://lists.sourceforge.net/lists/listinfo/meson-devel