The option NEKTAR_DISABLE_BACKUPS in CMake is no longer used for enabling or disabling the backups.
The alternative approach proposed in this branch is to set the backups in the session file by including an entry in the CONDITIONS/SOLVERINFO section. The PROPERTY is "Backups" and the VALUE can be either "Enable" or "Disable". The session file should have the following form:
<NEKTAR> [...] <CONDITIONS> <SOLVERINFO> [...] <I PROPERTY="Backups" VALUE="Enable" /> </SOLVERINFO> [...] </CONDITIONS> [...] </NEKTAR>
If this entry is not specified by the user, the backups will be enabled by default.
In addition, it has been added the capability of using an environment variable (NEKTAR_DISABLE_BACKUPS) to overwrite the backups' behaviour. The user could use the following command in the terminal to disable the backups:
$ export NEKTAR_DISABLE_BACKUPS=1
While this environment variable exists, it will prevent backups from being written.
Closes #209 (closed).