diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-17 13:39:30 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-17 13:39:30 +0100 |
| commit | 79b631a2572748606431fd4e3c1ee38a47cad5a9 (patch) | |
| tree | 43b29b4b510d76123b8f486fa8f528c6f200229e /cmake/BuildDeps.cmake | |
| parent | 5ae0aa3e092c56ee856a1c47d2978af00c108451 (diff) | |
| download | BobinkCOpcUa-79b631a2572748606431fd4e3c1ee38a47cad5a9.tar.gz BobinkCOpcUa-79b631a2572748606431fd4e3c1ee38a47cad5a9.zip | |
Add comments to build files and shell scripts, fix minor inconsistencies
- CMakeLists.txt: add file-level comment, section banners, target
docs, and test-section explanation
- cmake/BuildDeps.cmake: add file-level comment describing the
configure/build/install workflow
- tools/generate_certificate.sh: document arguments and outputs in
header block, comment set -euo pipefail
- src/config.h: move include guard before Doxygen block (match
common.h)
- src/server_register.c: add comment to empty anonymous-auth block
(match client_find_servers.c)
Diffstat (limited to 'cmake/BuildDeps.cmake')
| -rw-r--r-- | cmake/BuildDeps.cmake | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/cmake/BuildDeps.cmake b/cmake/BuildDeps.cmake index d535e0a..1f64e1f 100644 --- a/cmake/BuildDeps.cmake +++ b/cmake/BuildDeps.cmake @@ -1,9 +1,17 @@ +# ====================================== +# BuildDeps.cmake +# ====================================== +# +# Configures, builds, and installs the open62541 library into a +# local prefix under the build tree. Skips the build when the +# installed shared library already exists. After installation, +# open62541 is imported via find_package so downstream targets +# can link against open62541::open62541. + set(OPEN62541_SOURCE_DIR "${CMAKE_SOURCE_DIR}/deps/open62541") set(OPEN62541_BUILD_DIR "${CMAKE_BINARY_DIR}/deps/open62541") set(OPEN62541_INSTALL_DIR "${CMAKE_BINARY_DIR}/deps/open62541-install") -# --- open62541 --- - if(NOT EXISTS "${OPEN62541_SOURCE_DIR}/CMakeLists.txt") message( FATAL_ERROR |
