From 52727a053c45f8d6c634d405742c3289a0be1f78 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Wed, 18 Feb 2026 23:36:35 +0100 Subject: Rename CMake project and executable targets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Project: OpcUaC → BobinkOpcUaC Targets: ServerLDS → bobink_opcua_discovery_server, ServerRegister → bobink_opcua_server, Client → client --- CMakeLists.txt | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 77d4ffb..a3a43f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,15 +2,16 @@ # OPC UA Discovery — Top-level build # ====================================== # -# Builds three programs that demonstrate OPC UA discovery. ServerLDS runs a -# Local Discovery Server. ServerRegister periodically registers itself with the -# LDS. Client queries servers for discovery info, endpoints, or current time. +# Builds three programs that demonstrate OPC UA discovery. +# bobink_opcua_discovery_server runs a Local Discovery Server. +# bobink_opcua_server periodically registers itself with the LDS. client +# queries servers for discovery info, endpoints, or current time. # # All programs link against common (shared helpers and config parser) which in # turn depends on open62541. cmake_minimum_required(VERSION 4.0) -project(OpcUaC C) +project(BobinkOpcUaC C) set(CMAKE_C_STANDARD 11) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) @@ -27,16 +28,16 @@ add_library(common STATIC src/common.c src/config.c) target_link_libraries(common open62541::open62541) # Unified client: find-servers, get-endpoints, read-time. -add_executable(Client src/client.c) -target_link_libraries(Client common) +add_executable(client src/client.c) +target_link_libraries(client common) # Runs the Local Discovery Server that other servers register with. -add_executable(ServerLDS src/server_lds.c) -target_link_libraries(ServerLDS common) +add_executable(bobink_opcua_discovery_server src/server_lds.c) +target_link_libraries(bobink_opcua_discovery_server common) # Runs a server that periodically registers itself with the LDS. -add_executable(ServerRegister src/server_register.c) -target_link_libraries(ServerRegister common) +add_executable(bobink_opcua_server src/server_register.c) +target_link_libraries(bobink_opcua_server common) # ====================================== # Documentation -- cgit v1.2.3