Go to file
Jussi Pakkanen 192c96acef Use of libdl is optional. Closes #248. 2015-08-27 20:31:31 +03:00
cross Use system() instead of name() which is a confusing term. 2015-08-16 23:32:39 +03:00
data macros.meson: simplify RPM macros by using expand 2015-08-02 01:21:13 +03:00
graphics Logo tweaking. 2015-07-04 01:58:57 +03:00
man Bumped version number for release. 2015-07-12 20:50:01 +03:00
manual tests Use of libdl is optional. Closes #248. 2015-08-27 20:31:31 +03:00
modules Use --no-libtool. 2015-08-21 21:52:09 +03:00
test cases Use makedirs instead of mkdir. Closes #247. 2015-08-27 20:29:20 +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 Made run_tests.py output test results in junit xml to allow better integration with CI tools. 2015-03-25 17:32:58 +02:00
COPYING Start of project. 2012-12-23 16:35:35 +02:00
authors.txt Updated authors. 2015-08-26 23:02:35 +03:00
backends.py Made Fortran static libraries work. Closes #237. 2015-08-23 20:17:37 +03:00
build.py Add version numbers to projects and generate a dep manifest. 2015-08-21 22:11:44 +03:00
commandrunner.py commandrunner: fix bad-continuation 2015-06-19 10:48:51 +03:00
compilers.py Give sanity test binaries different names. Also expose project version to modules. 2015-08-25 01:29:16 +03:00
contributing.txt trivial: fix urls after repo migration 2015-06-16 14:55:14 +03:00
coredata.py Bumped version number for new development. 2015-07-12 21:32:18 +03:00
create_release.sh Bump version number for release. 2015-03-31 01:00:48 +03:00
delwithsuffix.py Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
dependencies.py Fix access to the pkgconfig path in CrossBuildInfo 2015-08-25 01:01:38 +02:00
depfixer.py depfixer: Instance of XXX has no XXX member 2015-06-21 15:44:29 +03:00
environment.py Check for binary called g++ on Windows. 2015-08-26 00:35:25 +03:00
gtkdochelper.py Now with xmlness. 2015-08-07 14:04:44 +03:00
install_meson.py One last fix before release. 2015-07-12 21:19:21 +03:00
interpreter.py Use makedirs instead of mkdir. Closes #247. 2015-08-27 20:29:20 +03:00
meson.py More robust windows detection and more logs. 2015-08-25 23:09:54 +03:00
meson_install.py Allow more than one install script and make gtkdoc method return one. 2015-08-02 13:49:11 +03:00
meson_test.py More robust windows detection and more logs. 2015-08-25 23:09:54 +03:00
mesonconf.py Flipped one character. 2015-07-12 02:15:07 +03:00
mesongui.py Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
mesonintrospect.py Introspect prints external dependency args. 2015-08-23 21:14:18 +03:00
mesonlib.py More robust windows detection and more logs. 2015-08-25 23:09:54 +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 Do not invoke linker via cmd /c on Windows. 2015-05-17 15:23:33 +03:00
mparser.py Add support for subscripting array objects with []. 2015-08-19 23:34:49 +03:00
ninjabackend.py Generator outputs are all relative. 2015-08-27 01:07:14 +03:00
optinterpreter.py Get builtin options by correct name in subprojects. 2015-06-30 20:43:05 +03:00
readme.txt Readme tweaking. 2015-05-04 22:10:37 +03:00
run_cross_test.py Fix cross compilation tests. 2015-05-09 16:17:20 +03:00
run_tests.py More robust windows detection and more logs. 2015-08-25 23:09:54 +03:00
rustrunner.py Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
symbolextractor.py More robust windows detection and more logs. 2015-08-25 23:09:54 +03: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 vs2010backend: fix bad-continuation 2015-06-19 10:16:38 +03:00
wrap.py Use strict SSL when downloading from wrapdb. 2015-07-22 00:06:54 +03:00
wraptool.py Connect to wrapdb over authenticated ssl when possible and print warning when not possible. 2015-07-21 23:19:09 +03:00
xcodebackend.py xcodebackend: Undefined variable 'MesonException' 2015-06-19 10:32:02 +03:00

readme.txt

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


Dependencies

Python   http://python.org (version 3.4 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 allows you to
do things like this:

cd source_root; mkdir build; cd build; meson ..
cd source_root; mkdir build; meson 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.


IRC

The irc channel for Meson is #mesonbuild over at freenode.


Further info

The home page of Meson can be found here:

http://mesonbuild.com

Meson is a registered trademark of Jussi Pakkanen