Releases: fortesg/fortrantestgenerator
Template Stabilization
This release brings all changes from the 1.6.x-beta branch to the master branch, plus some minor fixes and refactorings.
Please note the major changes introduced in v1.6.0-beta.
Old templates will not work any longer!
You have to change your configuration!
Requires FortranCallGraph v1.4.0+ and Serialbox2 v.2.4.0+
Indentation
No more indentation for preprocessor directives, fixes #18.
Indentation
No more indentation for preprocessor directives, fixes #18.
Template fix
Some bug fixes in the ftgWrite and ftgRead template parts.
Template Hierarchy
This beta release brings major changes to the template system
Old templates will not work any longer!
You have to change your configuration!
-
The template API has changed and is not compatible to the old API.
-
The configuration variable
TEMPLATE_DIR
is replaced byTEMPLATE
. Instead of a directory it has to set a concrete template file. This template file has to extend FTGTemplate.tmpl by defining all needed parts, see for example templates/Standalone/Standalone.tmpl. The individual parts still can be contained in separate files, but those have to be included by the main file.Mandatory parts:
captureBeforeContains
captureAfterLastSpecification
captureBeforeEnd
captureAfterSubroutine
export
replay
-
Templates can inherit from other templates and redefine only some parts.
Current template hierarchy:
FTGTemplate.tmpl
│
└─ templates/Standalone/Standalone.tmpl
│
├─ templates/StandaloneNoMPI/StandaloneNoMPI.tmpl
│
└─ templates/IconStandalone/IconStandalone.tmpl
│
└─ templates/IconTestbed/IconTestbed.tmpl
- There is still no documentation available. SORRY!
Just copy one template and try out yourself.
#endif
Serialbox2 update
Adapted templates to recent changes in the FTG frontend of serialbox2.
Requires Serialbox2 v2.3.1+.
Bounds
Serialbox2 templates
- Migrated templates to Serialbox2
- Tested with Cheetah3
- Small bugfix in templates
Configurable
- Added -cf/--configFile option to choose another config file
- Can now analyse and modify different source directories
- Added creation of data directories to code templates
- Various bug fixes and enhancements
- Refactorings
Requires FortranCallGraph v1.2.x and serialbox-ftg v.0.5.x!