From d19d18dd77d7296db8b210d27c262ac8406ae6e4 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 17 Jun 2013 14:19:50 +0000 Subject: [PATCH] [SCons] Print options read from cantera.conf This prevents surprises when an unexpected option value is saved in cantera.conf. --- SConstruct | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SConstruct b/SConstruct index 3c498c0cb..2bda736e9 100644 --- a/SConstruct +++ b/SConstruct @@ -638,6 +638,12 @@ for arg in ARGUMENTS: print 'Encountered unexpected command line argument: %r' % arg sys.exit(0) +# Print values of all build options: +print "Configuration variables read from 'cantera.conf' and command line:" +for line in open('cantera.conf'): + print ' ', line.strip() +print + # ******************************************** # *** Configure system-specific properties *** # ********************************************