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

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 PRIVATE, INTERNAL, PROTECTED and FINAL are ignored during compile (CDS-51581).

DocFormat

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.

Not yet implemented! (CDS-48426)

DocLanguages [1]

Text

List of comma separated language ids (e.g, "de, fr")

OnlineHelp [1]

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

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 imme­diate 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.

[1]

( 1, 2, 3, ) CI ( 1, 2, 3, ) Jenkis ( 1, 2, 3, ) Travis ( 1, 2, 3, )

[2]

( 1, )