[SCons] Deprecate the 'legacy_headers' option
This commit is contained in:
parent
e17d099b96
commit
1e02732140
1 changed files with 2 additions and 0 deletions
|
|
@ -1194,6 +1194,8 @@ if addInstallActions:
|
|||
|
||||
# Make symlinks to replicate old header directory structure
|
||||
if env['legacy_headers']:
|
||||
print ('WARNING: Installation of legacy headers is deprecated. '
|
||||
'This installation option will be removed in Cantera 2.2.')
|
||||
install(env.Command, pjoin('$inst_incdir', 'kernel'), [], Mkdir("$TARGET"))
|
||||
install('$inst_incdir', 'platform/legacy/Cantera_legacy.h')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue