Skip to content

Commit

Permalink
Update annotations.tex
Browse files Browse the repository at this point in the history
Add here as the general description.
  • Loading branch information
HansOlsson committed Nov 9, 2023
1 parent 8a8c7fd commit 0eef570
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chapters/annotations.tex
Expand Up @@ -2329,6 +2329,7 @@ \section{License Texts}\label{license-texts}
For a top-level class the {\lstinline!annotation(License="modelica:/ModelicaLibraryName/Resources/Licenses/MyLicense.txt")!}\annotationindex{License}, gives a license file for the class.
The annotation may give a scalar value or an array of values.
The license files are human-readable files containing the license conditions.
If the annotation specifies an array of license files the conditions in all of them must be satisfied (i.e., it is not intended for dual-licensing).
External functions may also contain this annotation (with similar content), see \cref{annotations-for-external-libraries-and-include-files}.
When generating a distributable version for a translated model the license files for used functions and top-level classes should be included.

Expand Down

0 comments on commit 0eef570

Please sign in to comment.