summaryrefslogtreecommitdiff
path: root/mesonbuild/mcompile.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-04-05 09:39:41 +0530
committerJussi Pakkanen <jpakkane@gmail.com>2020-04-08 23:44:31 +0300
commit04ed3810edea81ae9197da4f52851eb8ca1565cf (patch)
treec1a320c39d5156b38fd8942e64af067760ad7500 /mesonbuild/mcompile.py
parent0d27be0ba5f99997153cf324ec68779267b84417 (diff)
downloadmeson-04ed3810edea81ae9197da4f52851eb8ca1565cf.tar.gz
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='.'`
Diffstat (limited to 'mesonbuild/mcompile.py')
-rw-r--r--mesonbuild/mcompile.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/mcompile.py b/mesonbuild/mcompile.py
index 372c853a1..7829ffc19 100644
--- a/mesonbuild/mcompile.py
+++ b/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.'
)