CONFIG: handle embedded WM_COMPILE_CONTROL flags in wmakeLnInclude

- with WM_COMPILE_CONTROL="... lnInclude-extra ..." will treat like
  'wmakeLnInclude -extra' and include all source files into the
  lnInclude/ directory
This commit is contained in:
Mark Olesen
2025-02-17 12:12:10 +01:00
parent 15ac0bc30b
commit eae448c7aa
5 changed files with 22 additions and 4 deletions

View File

@ -96,6 +96,7 @@ export WM_COMPILE_OPTION=Opt
# +strict : more deprecation warnings (may generate *many* warnings)
# ccache=... : ccache command (unquoted, single/double or <> quoted)
# version=... : compiler suffix (eg, version=11 -> gcc-11)
# lnInclude-extra : add '-extra' option for wmakeLnInclude
#export WM_COMPILE_CONTROL="+strict"
# [WM_MPLIB] - MPI implementation:

View File

@ -96,6 +96,7 @@ setenv WM_COMPILE_OPTION Opt
# +strict : more deprecation warnings (may generate *many* warnings)
# ccache=... : ccache command (unquoted, single/double or <> quoted)
# version=... : compiler suffix (eg, version=11 -> gcc-11)
# lnInclude-extra : add '-extra' option for wmakeLnInclude
#setenv WM_COMPILE_CONTROL "+strict"
# [WM_MPLIB] - MPI implementation: