aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt17
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)