aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonmain.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/mesonmain.py')
-rw-r--r--mesonbuild/mesonmain.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py
index a4406be..b70fd61 100644
--- a/mesonbuild/mesonmain.py
+++ b/mesonbuild/mesonmain.py
@@ -141,6 +141,11 @@ class MesonApp:
profile.runctx('intr.run()', globals(), locals(), filename=fname)
else:
intr.run()
+ # Print all default option values that don't match the current value
+ for def_opt_name, def_opt_value, cur_opt_value in intr.get_non_matching_default_options():
+ mlog.log('Option', mlog.bold(def_opt_name), 'is:',
+ mlog.bold(str(cur_opt_value)),
+ '[default: {}]'.format(str(def_opt_value)))
try:
dumpfile = os.path.join(env.get_scratch_dir(), 'build.dat')
# We would like to write coredata as late as possible since we use the existence of