aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/msetup.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-11-15 22:47:51 +0200
committerGitHub <noreply@github.com>2018-11-15 22:47:51 +0200
commitc104251d2ef1ca1c4b8caea52fa6ab2da1dbaefe (patch)
tree0beb5ebae4bdbaf8e2385f644e7e6a8c406d0213 /mesonbuild/msetup.py
parent6a2dc7576e00e849510f7bc1f939d66d0b2f6f80 (diff)
parent0ab27add49cedb6f5985dfba7ba40c8d29ae91dc (diff)
downloadmeson-c104251d2ef1ca1c4b8caea52fa6ab2da1dbaefe.zip
meson-c104251d2ef1ca1c4b8caea52fa6ab2da1dbaefe.tar.gz
meson-c104251d2ef1ca1c4b8caea52fa6ab2da1dbaefe.tar.bz2
Merge pull request #4216 from dcbaker/wip/config-file
native file support
Diffstat (limited to 'mesonbuild/msetup.py')
-rw-r--r--mesonbuild/msetup.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/msetup.py b/mesonbuild/msetup.py
index ce03f43..f9a5e1c 100644
--- a/mesonbuild/msetup.py
+++ b/mesonbuild/msetup.py
@@ -29,6 +29,10 @@ def add_arguments(parser):
coredata.register_builtin_arguments(parser)
parser.add_argument('--cross-file', default=None,
help='File describing cross compilation environment.')
+ parser.add_argument('--native-file',
+ default=[],
+ action='append',
+ help='File containing overrides for native compilation environment.')
parser.add_argument('-v', '--version', action='version',
version=coredata.version)
parser.add_argument('--profile-self', action='store_true', dest='profile',