mcompile: Use the current dir if unspecified

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='.'`
pull/6929/head
Nirbheek Chauhan 5 years ago committed by Jussi Pakkanen
parent 0d27be0ba5
commit 04ed3810ed
  1. 1
      mesonbuild/mcompile.py

@ -54,7 +54,6 @@ def add_arguments(parser: 'argparse.ArgumentParser') -> None:
action='store',
dest='builddir',
type=pathlib.Path,
required=True,
default='.',
help='The directory containing build files to be built.'
)

Loading…
Cancel
Save