Go to file
Jussi Pakkanen 43f5166df2 Moved is_subproject into the meson object. 2014-10-05 21:57:42 +03:00
cross Fix ARM strip binary path. 2013-08-31 01:05:35 +03:00
man Bump version number for release. 2014-09-13 00:43:05 +03:00
test cases Moved is_subproject into the meson object. 2014-10-05 21:57:42 +03: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 Ignore file grooming. 2014-03-22 22:57:40 +02:00
COPYING Start of project. 2012-12-23 16:35:35 +02:00
authors.txt Added author info file and instructions on how to add names to it. 2014-08-13 18:02:55 +03:00
backends.py Made include args always return arrays for consistency. 2014-09-05 18:52:17 +03:00
build.py Can have arrays of stuff. 2014-09-20 19:01:48 +03:00
commandrunner.py New version name for new development. 2014-09-13 01:21:25 +03:00
coredata.py New version name for new development. 2014-09-13 01:21:25 +03:00
create_release.sh A script to create source tarballs. 2014-06-07 15:08:06 +03:00
delwithsuffix.py Helper app to delete files with a given suffix. 2013-03-24 21:11:02 +02:00
dependencies.py A few suffix fixes. 2014-09-26 18:31:07 +03:00
depfixer.py Updated copyright years. 2014-08-11 00:20:17 +03:00
environment.py Gcc and clang can take assebmly files directly. 2014-09-30 22:22:42 +03:00
install_meson.py Updated copyright years. 2014-08-11 00:20:17 +03:00
interpreter.py Moved is_subproject into the meson object. 2014-10-05 21:57:42 +03:00
meson.py Kill end of line whitespace dead. 2014-08-07 12:34:35 +03:00
meson_install.py A few suffix fixes. 2014-09-26 18:31:07 +03:00
meson_test.py Print test command lines to logs. 2014-08-24 01:52:28 +03:00
mesonconf.py One more off by one error. 2014-07-23 19:10:28 +03:00
mesongui.py Kill end of line whitespace dead. 2014-08-07 12:34:35 +03:00
mesonintrospect.py Introspect script understands runtargets. 2014-06-11 23:19:00 +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 Updated copyright years. 2014-08-11 00:20:17 +03:00
mparser.py Can chain multiple logical operations in a row. 2014-09-19 18:08:28 +03:00
ninjabackend.py Fortran dep fix on Windows. 2014-09-26 18:37:56 +03:00
optinterpreter.py Can specify project options on the command line and the override defaults. 2014-08-06 21:40:23 +03:00
readme.txt Added author info file and instructions on how to add names to it. 2014-08-13 18:02:55 +03:00
run_cross_test.py Updated copyright years. 2014-08-11 00:20:17 +03:00
run_tests.py Updated copyright years. 2014-08-11 00:20:17 +03:00
rustrunner.py Deal with Rust static libraries, too. 2014-06-23 20:53:20 +03:00
symbolextractor.py Updated symbolextractor to work with cross builds. 2013-08-24 00:30:13 +03:00
vs2010backend.py Some vs2010 fixes. 2014-03-31 20:19:16 +03:00
xcodebackend.py The mass flags -> args renaming for consistency. 2014-06-22 17:10:00 +03: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 community contributions. There are two simple ways to submit your
patches. The preferred way is to send a github pull request. You can
also send patches as emails to the Meson mailing list. Remember to add
your name to the list of contributors in authors.txt.


Further info

The home page of Meson can be found here:

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