@ -16,15 +16,11 @@ For the full list of all available options for a specific command use the follow
### configure
### configure
```
{{ configure_usage.inc }}
{{ cmd_help['configure']['usage'] }}
```
Changes options of a configured meson project.
Changes options of a configured meson project.
```
{{ configure_arguments.inc }}
{{ cmd_help['configure']['arguments'] }}
```
Most arguments are the same as in [`setup` ](#setup ).
Most arguments are the same as in [`setup` ](#setup ).
@ -46,15 +42,11 @@ meson configure builddir -Doption=new_value
*(since 0.54.0)*
*(since 0.54.0)*
```
{{ compile_usage.inc }}
{{ cmd_help['compile']['usage'] }}
```
Builds a default or a specified target of a configured meson project.
Builds a default or a specified target of a configured meson project.
```
{{ compile_arguments.inc }}
{{ cmd_help['compile']['arguments'] }}
```
`--verbose` argument is available since 0.55.0.
`--verbose` argument is available since 0.55.0.
@ -115,15 +107,11 @@ meson compile coverage-html
*(since 0.52.0)*
*(since 0.52.0)*
```
{{ dist_usage.inc }}
{{ cmd_help['dist']['usage'] }}
```
Generates a release archive from the current source tree.
Generates a release archive from the current source tree.
```
{{ dist_arguments.inc }}
{{ cmd_help['dist']['arguments'] }}
```
See [notes about creating releases ](Creating-releases.md ) for more info.
See [notes about creating releases ](Creating-releases.md ) for more info.
@ -138,15 +126,11 @@ meson dist -C builddir
*(since 0.45.0)*
*(since 0.45.0)*
```
{{ init_usage.inc }}
{{ cmd_help['init']['usage'] }}
```
Creates a basic set of build files based on a template.
Creates a basic set of build files based on a template.
```
{{ init_arguments.inc }}
{{ cmd_help['init']['arguments'] }}
```
#### Examples:
#### Examples:
@ -157,15 +141,11 @@ meson init -C sourcedir
### introspect
### introspect
```
{{ introspect_usage.inc }}
{{ cmd_help['introspect']['usage'] }}
```
Displays information about a configured meson project.
Displays information about a configured meson project.
```
{{ introspect_arguments.inc }}
{{ cmd_help['introspect']['arguments'] }}
```
#### Examples:
#### Examples:
@ -178,15 +158,11 @@ meson introspect builddir
*(since 0.47.0)*
*(since 0.47.0)*
```
{{ install_usage.inc }}
{{ cmd_help['install']['usage'] }}
```
Installs the project to the prefix specified in [`setup` ](#setup ).
Installs the project to the prefix specified in [`setup` ](#setup ).
```
{{ install_arguments.inc }}
{{ cmd_help['install']['arguments'] }}
```
See [the installation documentation ](Installing.md ) for more info.
See [the installation documentation ](Installing.md ) for more info.
@ -206,31 +182,23 @@ DESTDIR=/path/to/staging/area meson install -C builddir
*(since 0.50.0)*
*(since 0.50.0)*
```
{{ rewrite_usage.inc }}
{{ cmd_help['rewrite']['usage'] }}
```
Modifies the meson project.
Modifies the meson project.
```
{{ rewrite_arguments.inc }}
{{ cmd_help['rewrite']['arguments'] }}
```
See [the meson file rewriter documentation ](Rewriter.md ) for more info.
See [the meson file rewriter documentation ](Rewriter.md ) for more info.
### setup
### setup
```
{{ setup_usage.inc }}
{{ cmd_help['setup']['usage'] }}
```
Configures a build directory for the meson project.
Configures a build directory for the meson project.
This is the default meson command (invoked if there was no COMMAND supplied).
This is the default meson command (invoked if there was no COMMAND supplied).
```
{{ setup_arguments.inc }}
{{ cmd_help['setup']['arguments'] }}
```
See [meson introduction page ](Running-Meson.md#configuring-the-build-directory ) for more info.
See [meson introduction page ](Running-Meson.md#configuring-the-build-directory ) for more info.
@ -245,27 +213,19 @@ meson setup builddir
*(since 0.49.0)*
*(since 0.49.0)*
```
{{ subprojects_usage.inc }}
{{ cmd_help['subprojects']['usage'] }}
```
Manages subprojects of the meson project.
Manages subprojects of the meson project.
```
{{ subprojects_arguments.inc }}
{{ cmd_help['subprojects']['arguments'] }}
```
### test
### test
```
{{ test_usage.inc }}
{{ cmd_help['test']['usage'] }}
```
Run tests for the configure meson project.
Run tests for the configure meson project.
```
{{ test_arguments.inc }}
{{ cmd_help['test']['arguments'] }}
```
See [the unit test documentation ](Unit-tests.md ) for more info.
See [the unit test documentation ](Unit-tests.md ) for more info.
@ -283,14 +243,10 @@ meson test -C builddir specific_test_1 specific_test_2
### wrap
### wrap
```
{{ wrap_usage.inc }}
{{ cmd_help['wrap']['usage'] }}
```
An utility to manage WrapDB dependencies.
An utility to manage WrapDB dependencies.
```
{{ wrap_arguments.inc }}
{{ cmd_help['wrap']['arguments'] }}
```
See [the WrapDB tool documentation ](Using-wraptool.md ) for more info.
See [the WrapDB tool documentation ](Using-wraptool.md ) for more info.