Go to file
Jussi Pakkanen eceedc0d29 Declare buildtype and platform only once. 2015-11-06 22:59:51 +02:00
cross Added cpu family property to system information. 2015-10-18 01:08:04 +03:00
data rpm macros: export *FLAGS 2015-10-30 16:57:23 +01:00
graphics Logo tweaking. 2015-07-04 01:58:57 +03:00
man Bumped version numbers for release. 2015-09-12 22:29:37 +03:00
manual tests Fix manual tests using host.name() 2015-10-13 14:56:05 +02:00
modules Handle resource path properly. 2015-10-26 21:59:38 +02:00
test cases Declare buildtype and platform only once. 2015-11-06 22:59:51 +02:00
tools Moved new ac converter from wrap repo and made shebang line use env. Closes #256. 2015-09-04 22:05:01 +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 Gracefully handle missing machine info. 2015-10-18 15:56:20 -07:00
backends.py Merged default library branch. 2015-11-06 21:05:05 +02:00
build.py Can store ext deps to internal deps. Closes #304. 2015-11-04 23:57:26 +02:00
commandrunner.py Wait properly. 2015-10-19 22:10:14 +03:00
compilers.py Turned builtin options into proper objects. 2015-11-03 03:31:56 +02:00
contributing.txt trivial: fix urls after repo migration 2015-06-16 14:55:14 +03:00
coredata.py Merged default library branch. 2015-11-06 21:05:05 +02: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 Can store ext deps to internal deps. Closes #304. 2015-11-04 23:57:26 +02:00
depfixer.py depfixer: Instance of XXX has no XXX member 2015-06-21 15:44:29 +03:00
environment.py Refactored builtin options to a dictionary and created a new default library target type. 2015-11-03 03:03:54 +02:00
gtkdochelper.py Can set extra args to gtkdoc scan. 2015-10-19 00:35:41 +03:00
install_meson.py Minor cleanup for consistency. 2015-09-20 13:46:58 +03:00
interpreter.py Merged default library branch. 2015-11-06 21:05:05 +02:00
meson.py Made shared the default libtype as it is faster for daily development. 2015-11-04 00:36:07 +02: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 output decoding. Closes #289. 2015-10-19 21:50:03 +03:00
mesonconf.py Move option validation in objects rather than doing it only in the conf script. 2015-11-04 00:32:09 +02:00
mesongui.py Refactored option classes to mesonlib. 2015-10-04 02:18:26 +03:00
mesonintrospect.py Created a stringarray option type and added Windows system libs option that uses it. 2015-10-12 22:22:13 +03:00
mesonlib.py Turned builtin options into proper objects. 2015-11-03 03:31:56 +02: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 Merged default library branch. 2015-11-06 21:05:05 +02:00
optinterpreter.py Turned builtin options into proper objects. 2015-11-03 03:31:56 +02:00
readme.txt Readme tweaking. 2015-05-04 22:10:37 +03:00
regen_checker.py Regenerator script works, but is not run automatically yet. 2015-11-04 20:59:02 +02:00
run_cross_test.py Fix cross compilation tests. 2015-05-09 16:17:20 +03:00
run_tests.py Added conf option for build tree layout. 2015-09-17 19:21:26 +03: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 Declare buildtype and platform only once. 2015-11-06 22:59:51 +02:00
wrap.py Use strict SSL when downloading from wrapdb. 2015-07-22 00:06:54 +03:00
wraptool.py Open all wrapdb urls via the same code path. 2015-10-22 18:45:20 +03:00
xcodebackend.py Added outdir() method to build targets so we can make output dirs togglable. 2015-09-17 18:48:26 +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