diff options
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 |
