meson
SCons-like build system that uses Python as a front-end language and Ninja as a building backend. More information: https://mesonbuild.com/Commands.html.
- Generate a project with default values:
meson init
- Generate a C project with a given name and version:
meson init c --version
- Configure a directory named
buildwith default values for compilation:
meson
- Compile the project:
meson compile -C
- Run all tests in the project:
meson test -C
- Install the project to
/usr/local:
meson install -C
- Display help:
meson
- Display version:
meson
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
