aboutsummaryrefslogtreecommitdiffstats
path: root/demo/CMakeLists.txt
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-03-11 11:02:24 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-03-11 11:09:40 +0100
commit35309337aacac2eac7d7215e526bddcf7647b8cf (patch)
tree3626e5e5e17e23122deab1bf3ade0502872873f3 /demo/CMakeLists.txt
downloadQtXpl2-35309337aacac2eac7d7215e526bddcf7647b8cf.tar.gz
QtXpl2-35309337aacac2eac7d7215e526bddcf7647b8cf.zip
Initial project setup: Qt 6.10.2 TCP client library for Alchemie XPL2 protocol
- Static library (src/) with QML singleton Xpl2Client for TCP communication - Qt Quick demo app (demo/) with connection UI, command input, and response log
Diffstat (limited to 'demo/CMakeLists.txt')
-rw-r--r--demo/CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt
new file mode 100644
index 0000000..f85639b
--- /dev/null
+++ b/demo/CMakeLists.txt
@@ -0,0 +1,15 @@
+qt_add_executable(QtXpl2Demo main.cpp)
+
+qt_add_qml_module(
+ QtXpl2Demo
+ URI
+ QtXpl2Demo
+ VERSION
+ 1.0
+ QML_FILES
+ Main.qml)
+
+set_target_properties(QtXpl2Demo PROPERTIES RUNTIME_OUTPUT_DIRECTORY
+ "${PROJECT_BINARY_DIR}/bin")
+
+target_link_libraries(QtXpl2Demo PRIVATE Qt6::Quick QtXpl2plugin)