Add help for meson compile to the man page.

The added help text was derived from the output of the meson help
command much like the markdown online help is derived.
pull/13303/head
John Wiele 6 months ago
parent caa32abf45
commit 2e6f5c8bf2
  1. 56
      man/meson.1

@ -453,6 +453,62 @@ Modify the project default options
\fBcommand (cmd)\fR
Execute a JSON array of commands
.SH The compile command
.B meson compile
builds the project.
.B meson compile [
.I options
.B ] [
.I TARGET...
.B ]
.SS "positional arguments:"
.TP
\fBTARGET\fR
Targets to build. Target has the following format:
[PATH_TO_TARGET/]TARGET_NAME.TARGET_SUFFIX[:TARGET_TYPE].
.SS "options:"
.TP
\fB\-h, \-\-help\fR
show this help message and exit
.TP
\fB\-\-clean\fR
Clean the build directory.
.TP
\fB\-C WD\fR
directory to cd into before running
.TP
\fB\-j JOBS, \-\-jobs JOBS\fR
The number of worker jobs to run (if supported). If the value is less
than 1 the build program will guess.
.TP
\fB\-l LOAD_AVERAGE, \-\-load-average LOAD_AVERAGE\fR
The system load average to try to maintain (if supported).
.TP
\fB\-v, \-\-verbose\fR
Show more verbose output.
.TP
\fB\-\-ninja\-args NINJA_ARGS\fR
Arguments to pass to `ninja` (applied only on `ninja` backend).
.TP
\fB\-\-vs\-args VS_ARGS\fR
Arguments to pass to `msbuild` (applied only on `vs` backend).
.TP
\fB\-\-xcode\-args XCODE_ARGS\fR
Arguments to pass to `xcodebuild` (applied only on `xcode` backend).
.SH EXIT STATUS
.TP

Loading…
Cancel
Save