aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mcompile.py
AgeCommit message (Collapse)AuthorFilesLines
2020-09-04environment: use ExternalProgram to find ninjaPaolo Bonzini1-1/+1
This allows the NINJA environment variable to support all the Windows special cases, especially allowing an absolute path without extension. Based on a patch by Yonggang Luo. Fixes: #7659 Suggested-by: Nirbheek Chauhan <nirbheek@centricular.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-08-31mcompile: Also support -v for verboseNirbheek Chauhan1-1/+1
This matches `meson test`, and there's really no other meaning that could be attributed to this, since you would call `meson` to get the version, not the `compile` sub-command.
2020-08-30mcompile: use -v instead of --verbose for ninjaIgor Raits1-1/+1
The `--verbose` has been added to ninja in 1.9.0 and we pretend that we have compatibility with Ninja 1.7+. References: https://github.com/ninja-build/ninja/commit/bf7517505ad1def03e13bec2b4131399331bc5c4
2020-06-29Added ability to specify target in `meson compile`TheQwertiest1-30/+179
2020-06-28Added ability to pass arguments to backend in `meson compile`TheQwertiest1-10/+25
2020-06-21mcompile: Add --verbose modeIgor Raits1-1/+10
Closes: https://github.com/mesonbuild/meson/issues/7352 Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
2020-05-26mcompile: removed unneeded importsTheQwertiest1-2/+0
2020-05-26mcompile: detect_ninjaTheQwertiest1-8/+3
2020-05-26mcompile: replaced intro with cdata + extracted code to funcsTheQwertiest1-60/+63
2020-05-26mcompile: replaced backend divination code + cleanupTheQwertiest1-11/+24
2020-04-08mcompile: Use the current dir if unspecifiedNirbheek Chauhan1-1/+0
With this running `meson compile` inside the builddir actually works, and you don't have to do `meson compile -C .` Clearly this was the intent since the option already has `default='.'`
2020-03-04mesonbuild: Add mcompile commandDylan Baker1-0/+123
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes #6670