From de3d212062f8192ab2df32346858215a14b4ec38 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sat, 15 Nov 2014 00:47:30 +0000 Subject: [PATCH] [SCons] Deprecate unnecessary build options --- SConstruct | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index 82a59ac9b..ed9a777de 100644 --- a/SConstruct +++ b/SConstruct @@ -581,7 +581,7 @@ config_options = [ BoolVariable( 'install_gtest', """Determines whether to install the Google Test library and headers - alongside Cantera's libraries. Not recommended.""", + alongside Cantera's libraries. Deprecated.""", False), BoolVariable( 'single_library', @@ -606,7 +606,9 @@ config_options = [ for creating the documentation, and for making reaction path diagrams. If "dot" is in your path, you can leave this unspecified. NOTE: Matlab comes with a stripped-down version of 'dot'. If 'dot' - is on your path, make sure it is not the Matlab version!""", + is on your path, make sure it is not the Matlab version!. + *Deprecated*. Make sure that 'dot' is on your path before building + the Doxygen documentation.""", '', PathVariable.PathAccept), ('cantera_version', '', '2.2a1') ] @@ -661,6 +663,17 @@ for line in open('cantera.conf'): print ' ', line.strip() print +# Check for deprecated SCons options +if not env['single_library']: + print "WARNING: Setting the 'single_library' option to False is deprecated." + print " This option will be removed in Cantera 2.2." +if env['install_gtest']: + print "WARNING: The option 'install_gtest' is deprecated." + print " This option will be removed in Cantera 2.2." +if env['graphvizdir']: + print "WARNING: The option 'graphvizdir' is deprecated." + print " This option will be removed in Cantera 2.2." + # ******************************************** # *** Configure system-specific properties *** # ********************************************