Go to file
Jussi Pakkanen 34d673984d Remove duplicated function. 2013-10-23 21:07:59 +03:00
cross Fix ARM strip binary path. 2013-08-31 01:05:35 +03:00
man One word. 2013-10-21 19:24:20 +03:00
test cases Fixed cross compilation back up. 2013-10-20 23:28:16 +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 Can set test cmd arguments and environment variables. 2013-10-18 22:04:07 +03:00
build.py User options now do a full round trip. 2013-10-18 20:55:10 +03:00
compile_meson.py Removed some more -tt flags. 2013-06-16 14:09:44 +03:00
coredata.py Bump version number for new development. 2013-10-20 23:47:21 +03:00
delwithsuffix.py Helper app to delete files with a given suffix. 2013-03-24 21:11:02 +02:00
dependencies.py Added support for Qt resource compiler. 2013-10-05 00:12:47 +03:00
depfixer.py Some more tests passing. 2013-10-04 23:43:42 +03:00
environment.py User options now do a full round trip. 2013-10-18 20:55:10 +03:00
install_meson.py Gui tool works when installed now. 2013-09-30 21:53:47 +03:00
interpreter.py Fixed cross compilation back up. 2013-10-20 23:28:16 +03:00
meson.py User options now do a full round trip. 2013-10-18 20:55:10 +03:00
meson_install.py Strip dev rpath on install. 2013-10-04 23:15:56 +03:00
meson_test.py Pass parent envvars to test executables. 2013-10-20 23:37:27 +03:00
mesongui.py Remove duplicated function. 2013-10-23 21:07:59 +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
optinterpreter.py Validate option values on all assignments. 2013-10-23 20:05:53 +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 Can specify cross file as a command line argument. 2013-09-30 18:42:46 +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