modelica / ModelicaSpecification

Specification of the Modelica Language
https://specification.modelica.org
Other
95 stars 41 forks source link

Standardize filename of external libraries #3485

Open t-sommer opened 3 months ago

t-sommer commented 3 months ago

Currently the filename of the shared or static library that contains the implementation of an external function is implicitly defined by the example directory structure in 12.9.4 Annotations for External Functions:

image

I propose to add an explicit rule how to derive the filename of the library from the Library element in the annotation or at least add darwin/macOS to the example.

Note that, unlike FMI, Modelica requires a lib prefix on Linux. Maybe this could also be harmonized.