From 79b631a2572748606431fd4e3c1ee38a47cad5a9 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Tue, 17 Feb 2026 13:39:30 +0100 Subject: 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) --- cmake/BuildDeps.cmake | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'cmake') 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 -- cgit v1.2.3