• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H27-Sep-2021-

ci/H27-Sep-2021-

cross/H03-May-2022-

data/H27-Sep-2021-

docs/H03-May-2022-

graphics/H03-May-2022-

man/H27-Sep-2021-

manual tests/H27-Sep-2021-

mesonbuild/H27-Sep-2021-

packaging/H03-May-2022-

test cases/H27-Sep-2021-

tools/H27-Sep-2021-

unittests/H27-Sep-2021-

.editorconfigH A D27-Sep-2021314

.flake8H A D27-Sep-2021941

.lgtm.ymlH A D27-Sep-202156

.mailmapH A D27-Sep-2021846

.mypy.iniH A D27-Sep-2021789

.pylintrcH A D27-Sep-2021628

CODEOWNERSH A D27-Sep-2021319

COPYINGH A D27-Sep-202111.1 KiB

MANIFEST.inH A D27-Sep-2021360

README.mdH A D27-Sep-20213.2 KiB

azure-pipelines.ymlH A D27-Sep-20212.1 KiB

contributing.mdH A D27-Sep-2021325

ghwt.pyH A D27-Sep-20214.5 KiB

meson.pyH A D27-Sep-20211 KiB

pyproject.tomlH A D27-Sep-202150

run_cross_test.pyH A D27-Sep-20212.2 KiB

run_custom_lint.pyH A D27-Sep-20212.5 KiB

run_format_tests.pyH A D27-Sep-20212.7 KiB

run_meson_command_tests.pyH A D27-Sep-20218.1 KiB

run_mypy.pyH A D27-Sep-20212.7 KiB

run_project_tests.pyH A D27-Sep-202161.6 KiB

run_single_test.pyH A D27-Sep-20212.8 KiB

run_tests.pyH A D27-Sep-202114.6 KiB

run_unittests.pyH A D27-Sep-20215.7 KiB

setup.cfgH A D27-Sep-20211.6 KiB

setup.pyH A D27-Sep-20211.1 KiB

sider.ymlH A D27-Sep-2021121

skip_ci.pyH A D27-Sep-20212.7 KiB

README.md

1<p align="center">
2<img src="https://mesonbuild.com/assets/images/meson_logo.png">
3</p>
4Meson® is a project to create the best possible next-generation
5build system.
6
7#### Status
8
9[![PyPI](https://img.shields.io/pypi/v/meson.svg)](https://pypi.python.org/pypi/meson)
10[![Build Status](https://dev.azure.com/jussi0947/jussi/_apis/build/status/mesonbuild.meson)](https://dev.azure.com/jussi0947/jussi/_build/latest?definitionId=1)
11[![Codecov](https://codecov.io/gh/mesonbuild/meson/coverage.svg?branch=master)](https://codecov.io/gh/mesonbuild/meson/branch/master)
12[![Code Quality: Python](https://img.shields.io/lgtm/grade/python/g/mesonbuild/meson.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/mesonbuild/meson/context:python)
13[![Total Alerts](https://img.shields.io/lgtm/alerts/g/mesonbuild/meson.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/mesonbuild/meson/alerts)
14
15#### Dependencies
16
17 - [Python](https://python.org) (version 3.6 or newer)
18 - [Ninja](https://ninja-build.org) (version 1.8.2 or newer)
19
20#### Installing from source
21
22Meson is available on [PyPi](https://pypi.python.org/pypi/meson), so
23it can be installed with `pip3 install meson`.  The exact command to
24type to install with `pip` can vary between systems, be sure to use
25the Python 3 version of `pip`.
26
27If you wish you can install it locally with the standard Python command:
28
29```console
30python3 -m pip install meson
31```
32
33For builds using Ninja, Ninja can be downloaded directly from Ninja
34[GitHub release page](https://github.com/ninja-build/ninja/releases)
35or via [PyPi](https://pypi.python.org/pypi/ninja)
36
37```console
38python3 -m pip install ninja
39```
40
41More on Installing Meson build can be found at the
42[getting meson page](https://mesonbuild.com/Getting-meson.html).
43
44#### Running
45
46Meson requires that you have a source directory and a build directory
47and that these two are different. In your source root must exist a
48file called `meson.build`. To generate the build system run this
49command:
50
51`meson setup <source directory> <build directory>`
52
53Depending on how you obtained Meson the command might also be called
54`meson.py` instead of plain `meson`. In the rest of this document we
55are going to use the latter form.
56
57You can omit either of the two directories, and Meson will substitute
58the current directory and autodetect what you mean. This allows you to
59do things like this:
60
61```console
62cd <source root>
63meson setup builddir
64```
65
66To compile, cd into your build directory and type `ninja`. To run unit
67tests, type `ninja test`.
68
69More on running Meson build system commands can be found at the
70[running meson page](https://mesonbuild.com/Running-Meson.html)
71or by typing `meson --help`.
72
73#### Contributing
74
75We love code contributions. See the [contribution
76page](https://mesonbuild.com/Contributing.html) on the website for
77details.
78
79
80#### IRC
81
82The channel to use is `#mesonbuild` either via Matrix ([web
83interface][matrix_web]) or [OFTC IRC][oftc_irc].
84
85[matrix_web]: https://app.element.io/#/room/#mesonbuild:matrix.org
86[oftc_irc]: https://www.oftc.net/
87
88#### Further info
89
90More information about the Meson build system can be found at the
91[project's home page](https://mesonbuild.com).
92
93Meson is a registered trademark of ***Jussi Pakkanen***.
94