The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
761 B
761 B
Backend agnostic compile command
A new meson compile
command has been added to support backend agnostic
compilation. It accepts two arguments, -j
and -l
, which are used if
possible (-l
does nothing with msbuild). A -j
or -l
value < 1 lets the
backend decide how many threads to use. For msbuild this means -m
, for
ninja it means passing no arguments.
meson builddir --backend vs
meson compile -C builddir -j0 # this is the same as `msbuild builddir/my.sln -m`
meson builddir
meson compile -C builddir -j3 # this is the same as `ninja -C builddir -j3`
Additionally meson compile
provides a --clean
switch to clean the project.
A complete list of arguments is always documented via meson compile --help