add a new "debug" (-d) option to makenemo and a specific FCM flag to switch more easily in debug mode
The idea comes from XIOS which allows at compilation time to switch easily between debug and normal modes, using a dedicated flag with makexios
.
It allows to greatly reduce the number of Nemo arch files (as well as the BATCH templates for SETTE) by just adding a new fcm variable (%DEBUG_FCFLAGS
) to the normal arch file.
If the -d
flag is provided to makenemo
, %DEBUG_FCFLAGS
will be used instead of %FCFLAGS
(if it is available). This change is transparent if you don't use the -d
option.
The old -d New set of sub-components (subfolders from ./src directory)
option will be renamed to -c
.
The same option will be added to sette.sh
(and the existing -d to perform a dryrun to simply report what settings will be used
option will be replaced with -y
).