mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: compile utilites before solvers - there are no inter-dependencies, so favour getting utilities working first
Minimal changes to lemon for C++ integration.
- Additional '-e' command line option to define the code extension.
By default this is 'c', but with this option can define something
like '-ecxx' etc for using a C++ compiler.
- Additional '%static' Lemon directive, which is boolean-like:
%static
This adds a 'static' qualifier to all of the 'Parse*' routines that
would otherwise have global linkage, thus making them only visible
in the same file-scope.
Can subsequently place all of the C++ interface code within a %code
block in the same translation unit.
This allows good encapsulation without fundamentally changing how
Lemon works.
--
2020-07-10