summaryrefslogtreecommitdiff
path: root/mesonbuild/msetup.py
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2020-08-03 12:15:48 -0400
committerJohn Ericson <git@JohnEricson.me>2020-08-03 12:18:31 -0400
commita9ce824a8ae8148c4643bcc1f9197157897f943f (patch)
tree95244b7fb6af3d9930c78fa6db25825a8b8866dc /mesonbuild/msetup.py
parent70edf82c6c77902cd64f44848302bbac92d611d8 (diff)
downloadmeson-remove-parse_cmd_line_options.tar.gz
Remove uneeded `parse_cmd_line_options`remove-parse_cmd_line_options
The new way of doing things, thanks to @dcbaker, is making it so `Environment` combines the command line options and config files, and then coredata and just ingestion 1 source of raw data to initialize the actual options. This dramatically simplifies things by making information flow through one path not many. `parse_cmd_line_options` is a vestige of the old way of coredata having to crawl over a bunch of different sources of information and repeatedly parse them, and is no longer needed.
Diffstat (limited to 'mesonbuild/msetup.py')
-rw-r--r--mesonbuild/msetup.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/msetup.py b/mesonbuild/msetup.py
index 252151194..de4600a49 100644
--- a/mesonbuild/msetup.py
+++ b/mesonbuild/msetup.py
@@ -240,7 +240,6 @@ class MesonApp:
raise
def run(options) -> int:
- coredata.parse_cmd_line_options(options)
app = MesonApp(options)
app.generate()
return 0