[SCons] Deprecate unnecessary build options
This commit is contained in:
parent
5958578c40
commit
de3d212062
1 changed files with 15 additions and 2 deletions
17
SConstruct
17
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 ***
|
||||
# ********************************************
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue