A few small changes to CMakeLists.txt:
- Compiling open62541 you can see it mentioning a target of
"liblibmdnsd". Seems "add_library()" in cmake should be
changed from libmdnsd to only mdnsd.
- Remove trailing whitespace.
- Change tabs into spaces.
Signed-off-by: Florian La Roche <f.laroche@pilz.de>
After some commits on the master branch compilation
for macos was not working. This PR restores macos
to a building state.
Co-authored-by: Jón Bjarni Bjarnason <jon@centroid.is>
* Add XML en/decode support for ByteString, StatusCode,
QualifiedName, and LocalizedText
* Skip support for XmlElement
Signed-off-by: Srdjan Usorac <uso@keba.com>
* Rework en/decoding to be in sync with the standard: https://reference.opcfoundation.org/Core/Part6/v104/docs/5.3
* Concept of handling complex data types (decodeXmlFields)
* XML parsing of values
* Rework Guid, NodeId, and ExpandedNodeId (complex types)
* Rework and add unit tests for complex data types
Signed-off-by: Srdjan Usorac <uso@keba.com>
* feat(plugin): Add filestore Windows implementation
* Define UA_DT_REG and UA_DT_DIR
* Remove build flag and use __linux__ or UA_ARCHITECTURE_WIN32 in places which used to check only for __linux__
This commit disables reading the version number from git when open62541 is not the main CMake project. This is necessary when including the project via CPM, as the version number would get overwritten by the git tag of the main project.
According to the CMake documentation: "unsetting a normal variable can expose
a cache variable that was previously hidden". This can lead to wrong build
results if UA_NAMESPACE_ZERO is changed to FULL after configuring the project
with default REDUCED value. This happens e.g. if ccmake is used like shown in
the documentation.
Set UA_FILE_NS0_PRIVATE to "" like proposed in the CMake documentation to
prevent this behavior.
Signed-off-by: Vasilij Strassheim <vasilij.strassheim@linutronix.de>
Currently a fork of mdnsd library is used to register and discover servers on
the network. Since this fork is not maintained anymore a switch to another
library is necessary.
If avahi daemon is already running on the system, it can be used to register
the servers on network. Add mDNS build option and a copy of mDNS file as
preparation for an additional avahi based mDNS plugin.
Signed-off-by: Vasilij Strassheim <vasilij.strassheim@linutronix.de>