Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/ | H | 27-Sep-2021 | - | |||
ci/ | H | 27-Sep-2021 | - | |||
cross/ | H | 03-May-2022 | - | |||
data/ | H | 27-Sep-2021 | - | |||
docs/ | H | 03-May-2022 | - | |||
graphics/ | H | 03-May-2022 | - | |||
man/ | H | 27-Sep-2021 | - | |||
manual tests/ | H | 27-Sep-2021 | - | |||
mesonbuild/ | H | 27-Sep-2021 | - | |||
packaging/ | H | 03-May-2022 | - | |||
test cases/ | H | 27-Sep-2021 | - | |||
tools/ | H | 27-Sep-2021 | - | |||
unittests/ | H | 27-Sep-2021 | - | |||
.editorconfig | H A D | 27-Sep-2021 | 314 | |||
.flake8 | H A D | 27-Sep-2021 | 941 | |||
.lgtm.yml | H A D | 27-Sep-2021 | 56 | |||
.mailmap | H A D | 27-Sep-2021 | 846 | |||
.mypy.ini | H A D | 27-Sep-2021 | 789 | |||
.pylintrc | H A D | 27-Sep-2021 | 628 | |||
CODEOWNERS | H A D | 27-Sep-2021 | 319 | |||
COPYING | H A D | 27-Sep-2021 | 11.1 KiB | |||
MANIFEST.in | H A D | 27-Sep-2021 | 360 | |||
README.md | H A D | 27-Sep-2021 | 3.2 KiB | |||
azure-pipelines.yml | H A D | 27-Sep-2021 | 2.1 KiB | |||
contributing.md | H A D | 27-Sep-2021 | 325 | |||
ghwt.py | H A D | 27-Sep-2021 | 4.5 KiB | |||
meson.py | H A D | 27-Sep-2021 | 1 KiB | |||
pyproject.toml | H A D | 27-Sep-2021 | 50 | |||
run_cross_test.py | H A D | 27-Sep-2021 | 2.2 KiB | |||
run_custom_lint.py | H A D | 27-Sep-2021 | 2.5 KiB | |||
run_format_tests.py | H A D | 27-Sep-2021 | 2.7 KiB | |||
run_meson_command_tests.py | H A D | 27-Sep-2021 | 8.1 KiB | |||
run_mypy.py | H A D | 27-Sep-2021 | 2.7 KiB | |||
run_project_tests.py | H A D | 27-Sep-2021 | 61.6 KiB | |||
run_single_test.py | H A D | 27-Sep-2021 | 2.8 KiB | |||
run_tests.py | H A D | 27-Sep-2021 | 14.6 KiB | |||
run_unittests.py | H A D | 27-Sep-2021 | 5.7 KiB | |||
setup.cfg | H A D | 27-Sep-2021 | 1.6 KiB | |||
setup.py | H A D | 27-Sep-2021 | 1.1 KiB | |||
sider.yml | H A D | 27-Sep-2021 | 121 | |||
skip_ci.py | H A D | 27-Sep-2021 | 2.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