Go to file
Jussi Pakkanen b8f6c3f39c Standardise on prefix instead of installprefix. 2014-07-18 20:40:42 +03:00
cross Fix ARM strip binary path. 2013-08-31 01:05:35 +03:00
man Bump version number for release and no longer install to a versioned directory because the packages are not coinstallable anyway. 2014-07-14 18:23:11 +03:00
test cases Make it possible to run a custom script during install. 2014-07-09 16:30:58 +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
backends.py Can now build object files in generators, too. 2014-07-08 17:08:34 +03:00
build.py Can set install time rpath. 2014-07-11 20:53:50 +03:00
commandrunner.py Add in this file that I forgot. 2014-06-15 14:56:37 +03:00
coredata.py Bumping version number for new development. 2014-07-14 18:52:48 +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 Better description for Qt5 tools. 2014-06-28 10:49:54 +03:00
depfixer.py Use env. 2013-11-17 22:47:41 +02:00
environment.py Fix SONAME generation. 2014-07-18 18:08:22 +03:00
install_meson.py Bump version number for release and no longer install to a versioned directory because the packages are not coinstallable anyway. 2014-07-14 18:23:11 +03:00
interpreter.py Make it possible to run a custom script during install. 2014-07-09 16:30:58 +03:00
meson.py OCD 2014-06-02 01:18:58 +03:00
meson_install.py Can set install time rpath. 2014-07-11 20:53:50 +03:00
meson_test.py JSON test output is now one line per test case. 2014-05-02 01:02:22 +03:00
mesonconf.py Standardise on prefix instead of installprefix. 2014-07-18 20:40:42 +03:00
mesongui.py The mass flags -> args renaming for consistency. 2014-06-22 17:10:00 +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 Added debug logging path. 2013-08-11 14:38:32 +03:00
mparser.py Parse function and method calls properly. 2014-05-26 22:56:12 +03:00
ninjabackend.py Fix SONAME generation. 2014-07-18 18:08:22 +03:00
optinterpreter.py Standardise on prefix instead of installprefix. 2014-07-18 20:40:42 +03:00
readme.txt Update home page address. 2014-06-16 18:09:30 +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 More verbosity. 2014-07-14 18:15:54 +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 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/