aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.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/environment.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/environment.py')
-rw-r--r--mesonbuild/environment.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 073825a..72ca6a2 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -352,6 +352,12 @@ class Environment:
self.cross_info = None
self.machines.default_missing()
+ if self.coredata.config_files:
+ self.config_info = coredata.ConfigData(
+ coredata.load_configs(self.coredata.config_files))
+ else:
+ self.config_info = coredata.ConfigData()
+
self.cmd_line_options = options.cmd_line_options.copy()
# List of potential compilers.