aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/msetup.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-05-02 16:01:05 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-11-14 15:57:37 -0800
commit3af4407a16e188bfee0dc91b171decee1b8966eb (patch)
treef1ba24d643a01e24857a07d3a3f444c4af88f1fd /mesonbuild/msetup.py
parent95403cb61520978c52b3693a9bf0119e8348c20b (diff)
downloadmeson-3af4407a16e188bfee0dc91b171decee1b8966eb.zip
meson-3af4407a16e188bfee0dc91b171decee1b8966eb.tar.gz
meson-3af4407a16e188bfee0dc91b171decee1b8966eb.tar.bz2
Get basic native config file loading working
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',