diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-18 23:36:35 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-18 23:36:35 +0100 |
| commit | 52727a053c45f8d6c634d405742c3289a0be1f78 (patch) | |
| tree | 6f5c5b33e1e0584d49e496ae88b2123268c5dba5 /CMakeLists.txt | |
| parent | 3d30c8499ae37ca0ff837e9deaad359de0297765 (diff) | |
| download | BobinkCOpcUa-52727a053c45f8d6c634d405742c3289a0be1f78.tar.gz BobinkCOpcUa-52727a053c45f8d6c634d405742c3289a0be1f78.zip | |
Rename CMake project and executable targets
Project: OpcUaC → BobinkOpcUaC
Targets: ServerLDS → bobink_opcua_discovery_server,
ServerRegister → bobink_opcua_server,
Client → client
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 21 |
1 files changed, 11 insertions, 10 deletions
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 |
