summaryrefslogtreecommitdiff
path: root/plugin/src/Caelestia/CMakeLists.txt
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-26 20:39:26 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-26 20:39:26 +1000
commitd65fb180ad5ee41049b9d0f9a962901524636b6a (patch)
treedf7be08c2ac182e592405883df81e6e054973638 /plugin/src/Caelestia/CMakeLists.txt
parentbackground: add visualiser (diff)
downloadcaelestia-shell-d65fb180ad5ee41049b9d0f9a962901524636b6a.tar.gz
caelestia-shell-d65fb180ad5ee41049b9d0f9a962901524636b6a.tar.bz2
caelestia-shell-d65fb180ad5ee41049b9d0f9a962901524636b6a.zip
plugin: add saveItem
Diffstat (limited to 'plugin/src/Caelestia/CMakeLists.txt')
-rw-r--r--plugin/src/Caelestia/CMakeLists.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugin/src/Caelestia/CMakeLists.txt b/plugin/src/Caelestia/CMakeLists.txt
new file mode 100644
index 0000000..61d7f7e
--- /dev/null
+++ b/plugin/src/Caelestia/CMakeLists.txt
@@ -0,0 +1,25 @@
+qt_add_qml_module(caelestia
+ URI Caelestia
+ VERSION 0.1
+ SOURCES
+ cutils.hpp cutils.cpp
+)
+
+qt_query_qml_module(caelestia
+ URI module_uri
+ VERSION module_version
+ PLUGIN_TARGET module_plugin_target
+ TARGET_PATH module_target_path
+ QMLDIR module_qmldir
+ TYPEINFO module_typeinfo
+ QML_FILES module_qml_files
+ RESOURCES module_resources
+)
+
+set(module_dir "${INSTALL_QMLDIR}/${module_target_path}")
+install(TARGETS caelestia LIBRARY DESTINATION "${module_dir}" RUNTIME DESTINATION "${module_dir}")
+install(TARGETS "${module_plugin_target}" LIBRARY DESTINATION "${module_dir}" RUNTIME DESTINATION "${module_dir}")
+install(FILES "${module_qmldir}" DESTINATION "${module_dir}")
+install(FILES "${module_typeinfo}" DESTINATION "${module_dir}")
+
+target_link_libraries(caelestia PRIVATE Qt::Core Qt::Qml)