diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-11 11:02:24 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-11 11:09:40 +0100 |
| commit | 35309337aacac2eac7d7215e526bddcf7647b8cf (patch) | |
| tree | 3626e5e5e17e23122deab1bf3ade0502872873f3 /src/CMakeLists.txt | |
| download | QtXpl2-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 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..3339013 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,17 @@ +qt_add_library(QtXpl2 STATIC) + +qt_add_qml_module( + QtXpl2 + URI + Xpl2 + VERSION + 1.0 + SOURCES + Xpl2Client.h + Xpl2Client.cpp + OUTPUT_DIRECTORY + "${PROJECT_BINARY_DIR}/qml/Xpl2") + +target_compile_features(QtXpl2 PRIVATE cxx_std_17) + +target_link_libraries(QtXpl2 PRIVATE Qt6::Core Qt6::Network Qt6::Quick) |
