summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-19 05:13:42 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-19 05:38:24 +0100
commita0c7f2a7ef04dbe2e7491eabf828e26423d1bd10 (patch)
tree50491c80f28ad5f2789a3777bec74489327c4d7f /src/CMakeLists.txt
parent23916cbb98e952aab752a647ac96020aab709bb6 (diff)
downloadBobinkQtOpcUa-a0c7f2a7ef04dbe2e7491eabf828e26423d1bd10.tar.gz
BobinkQtOpcUa-a0c7f2a7ef04dbe2e7491eabf828e26423d1bd10.zip
Rename targets, route messages to debug console, clean up
- Rename CMake project and library target to BobinkQtOpcUa (URI stays Bobink) - Rename demo target to BobinkDemo, output binary to build/bin/ - Route all QML status/error messages to the in-app debug console - Remove discoveryInterval QML property, default to 30s internally - Add errorChanged handler, PKI file validation in applyPki()
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2f10c7a..615e90c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,13 +1,16 @@
-# bobink — QML module wrapping QtOpcUa for declarative use.
-qt_add_qml_module(bobink
- URI Bobink
- VERSION 1.0
- SOURCES
- BobinkAuth.h BobinkAuth.cpp
- BobinkClient.h BobinkClient.cpp
- # BobinkServerDiscovery.h BobinkServerDiscovery.cpp
- # BobinkNode.h BobinkNode.cpp
- OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/qml/Bobink"
-)
+# BobinkQtOpcUa — QML module wrapping QtOpcUa for declarative use.
+qt_add_qml_module(
+ BobinkQtOpcUa
+ URI
+ Bobink
+ VERSION
+ 1.0
+ SOURCES
+ BobinkAuth.h
+ BobinkAuth.cpp
+ BobinkClient.h
+ BobinkClient.cpp
+ OUTPUT_DIRECTORY
+ "${CMAKE_BINARY_DIR}/qml/Bobink")
-target_link_libraries(bobink PRIVATE Qt6::Core Qt6::Quick Qt6::OpcUa)
+target_link_libraries(BobinkQtOpcUa PRIVATE Qt6::Core Qt6::Quick Qt6::OpcUa)