Library Properties¶
Library properties serve for managing the meta data of a library. They are accessible via the Project Information. As from CODESYS 3.5.5.0 these properties have the following meaning:
Name |
Type |
Value (Default) |
Description |
|
---|---|---|---|---|
Required |
Company |
Text |
Serves for structuring (filter) in the “Add Library” dialog |
|
Title |
Text |
Name of the library |
||
Version |
Version |
Library version |
||
Released |
Bool |
False |
A library should not be modified after having been released |
|
Author |
Text |
Author of the current library version |
||
DefaultNamespace |
Text |
World-wide unique prefix, for defining the scope of the symbols of the library |
||
Description |
Text |
Short description of the purpose of the library |
||
Placeholder |
Text |
Which Placeholder should be used for referencing this library.
This library follows the rules for a Common Library.
|
||
AutoResolveUnbound |
Bool |
False |
This library has no device dependencies and requires the automatic resolving of its placeholder |
|
IsContainerLibrary |
Bool |
False |
This library follows the rules for a Container Library |
|
IsInterfaceLibrary |
Bool |
False |
This library follows the rules for a Interface Library |
|
IsCommonLibraryContainer |
Bool |
False |
This library follows the rules for
a Container Library, but is referenced by a |
|
LanguageModelAttribute |
Text |
qualified-access-only |
The access on symbols of the library is only possible via Namespace/Prefix |
|
IsEndUserLibrary |
Bool |
False |
This Library is especially designed for the needs of end users |
|
UnitTestingDefine |
Text |
This value can be used as a define in the application build properties to enable unit testing
for the library in this application. The keywords |
||
DocFormat [3] |
Text |
reStructuredText |
Comments will be interpreted according the rules of reStructuredText |
|
LibDocContent |
Text |
CommentsAndDocs |
DocsOnly: Only comments marked with a triple slash (
/// ) are relevant.CommentsAndDocs: Any comment style is relevant for the LibDocScriptiing.
|
|
DocLanguages [1] |
Text |
List of comma separated language ids (e.g, “de, fr”) |
||
Bool |
False |
When set to True, this library should be part of the CODESYS online help |
||
SourceLibrary [1] |
Bool |
False |
When set to True, this library should be delivered not in *.compiled-library format |
|
ServerBuildException [1] |
Text |
ok |
Ignore Server Pipeline Errors |
|
PreserveCompiledLibComments |
Bool |
False |
When the attribute is set to True, CODESYS does not remove comments from compiled libraries. |
|
Precursor [2] |
Text |
Reference to the last released library, which represents the incompatible immediate precursor.
The text string follows this format: “<Title>, <Version> (<Company>)”
For example: “SysTypes Interfaces, * (System)”
|
||
ShowSmartCodingInfo |
Bool |
False |
Ensures that for libs which are inserted implicitly still “Smart Coding” is working. |
|
Support32BitOnly |
Bool |
False |
The compiler generates an error if commanded generating code for a 64bit system. |