ANSI C UA Server SDK
1.5.2.328
|
When building the SDK using CMake, it can be configured in a number of ways using the CMake options described below.
The following options influence whether the SDK and/or the UaStack are built as shared libraries or statically.
BUILD_SHARED_STACK
BUILD_SHARED_LIBS
The following options enable or disable modules that are included in the SDK. Set an option to OFF
to disable the according module.
BUILD_UASERVERC
ON
. BUILD_AUTH_INTERNAL
/ BUILD_AUTH_WIN32
/ BUILD_AUTH_PAM
/ BUILD_AUTH_SASL
BUILD_AUTHORIZATION
BUILD_DI_PROVIDER
BUILD_PLCOPEN_PROVIDER
BUILD_SERVER_PROVIDER
ON
. BUILD_WITH_DISCOVERY
BUILD_WITH_ERROR_LOOKUP
Options that enable modules contained in the professional version of the SDK.
UASERVER_CALL
UASERVER_EVENTS
UASERVER_HISTORYREAD
UASERVER_HISTORYUPDATE
BUILD_BASIC_CONFIG
OFF
disables all modules only included in the professional version of the SDK (all modules in this list). The next set of options enable or disable features in the SDK, aiming to influence the resulting code and binary size of the SDK.
BUILD_NS0_WITH_DESCRIPTIONS
The UaStack can also be configured in a number of ways, especially the options regarding synchronization and timers have to be set carefully.
UASTACK_USE_SYNCHRONIZATION
has to be enabled.UASTACK_SUPPORT_ENC_OBJ_EXTENSIONS
ON
. UASTACK_USE_THREADS
OFF
, as the SDK is developed to tun in singlethreaded mode. UASTACK_USE_SYNCHRONIZATION
NUMBER_OF_AVAILABLE_TIMERS
UASTACK_CLIENTAPI_ENABLED
ON
if the SDK is built with BUILD_WITH_DISCOVERY
set to ON
. UASTACK_SERVERAPI_ENABLED
ON
. UASTACK_STATIC_PLATFORM
ON
. USE_STATIC_CRT
The following options configure the security and encryption abilities of the UaStack.
UASTACK_SUPPORT_SECURITYPOLICY_NONE
None
security policy. UASTACK_SUPPORT_SECURITYPOLICY_BASIC128RSA15
Basic128Rsa15
security policy. Only available if UASTACK_WITH_OPENSSL
is set to ON
. UASTACK_SUPPORT_SECURITYPOLICY_BASIC256
Basic256
security policy. Only available if UASTACK_WITH_OPENSSL
is set to ON
. UASTACK_WITH_OPENSSL
UASTACK_WITH_HTTPS
UASTACK_WITH_TLS
ON
if you enabled UASTACK_WITH_HTTPS
. UASTACK_WITH_PKI_WIN32
The next set of options enable or disable features in the UaStack, aiming to influence the resulting code and binary size of the UaStack.
UASTACK_MINIMAL_DISABLE_TRACE
UASTACK_MINIMAL_OMIT_TYPE_NAME
UASTACK_MINIMAL_SMALL_DATAVALUE
UASTACK_MINIMAL_SMALL_VARIANT
For historical data access, the data logger library delivered with the SDK can be used. Currently, it is delivered with an example file backend. The following options modify how it is built.
BUILD_DATA_LOGGER
BUILD_DATA_LOGGER_FILE_BACKEND