summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell-plugins/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell-plugins/CMakeLists.txt')
-rw-r--r--accounts/gkleen@sif/shell/quickshell-plugins/CMakeLists.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell-plugins/CMakeLists.txt b/accounts/gkleen@sif/shell/quickshell-plugins/CMakeLists.txt
index 020c0515..6b4f0d48 100644
--- a/accounts/gkleen@sif/shell/quickshell-plugins/CMakeLists.txt
+++ b/accounts/gkleen@sif/shell/quickshell-plugins/CMakeLists.txt
@@ -114,6 +114,7 @@ qt_add_dbus_interface(DBUS_INTERFACES
114set_source_files_properties(org.freedesktop.systemd1.Manager.xml PROPERTIES 114set_source_files_properties(org.freedesktop.systemd1.Manager.xml PROPERTIES
115 CLASSNAME DBusSystemdManager 115 CLASSNAME DBusSystemdManager
116 NO_NAMESPACE TRUE 116 NO_NAMESPACE TRUE
117 INCLUDE ListUnitsEntry.hpp
117) 118)
118qt_add_dbus_interface(DBUS_INTERFACES 119qt_add_dbus_interface(DBUS_INTERFACES
119 org.freedesktop.systemd1.Manager.xml 120 org.freedesktop.systemd1.Manager.xml
@@ -138,6 +139,24 @@ qt_add_dbus_interface(DBUS_INTERFACES
138 dbus_logind_session 139 dbus_logind_session
139) 140)
140 141
142set_source_files_properties(org.freedesktop.systemd1.Unit.xml PROPERTIES
143 CLASSNAME DBusSystemdUnit
144 NO_NAMESPACE TRUE
145)
146qt_add_dbus_interface(DBUS_INTERFACES
147 org.freedesktop.systemd1.Unit.xml
148 dbus_systemd_unit
149)
150
151set_source_files_properties(org.freedesktop.systemd1.Service.xml PROPERTIES
152 CLASSNAME DBusSystemdService
153 NO_NAMESPACE TRUE
154)
155qt_add_dbus_interface(DBUS_INTERFACES
156 org.freedesktop.systemd1.Service.xml
157 dbus_systemd_service
158)
159
141set_source_files_properties(org.freedesktop.DBus.Properties.xml PROPERTIES 160set_source_files_properties(org.freedesktop.DBus.Properties.xml PROPERTIES
142 CLASSNAME DBusProperties 161 CLASSNAME DBusProperties
143 NO_NAMESPACE TRUE 162 NO_NAMESPACE TRUE
@@ -148,6 +167,7 @@ qt_add_dbus_interface(DBUS_INTERFACES
148) 167)
149 168
150include_directories(${CMAKE_SOURCE_DIR}/build) 169include_directories(${CMAKE_SOURCE_DIR}/build)
170include_directories(${QUICKSHELL_SRC}/src)
151 171
152target_compile_features(customplugin PUBLIC cxx_std_26) 172target_compile_features(customplugin PUBLIC cxx_std_26)
153 173
@@ -162,7 +182,9 @@ target_sources(customplugin PRIVATE
162 FileSelector.cpp FileSelector.hpp 182 FileSelector.cpp FileSelector.hpp
163 KeePassXC.cpp KeePassXC.hpp 183 KeePassXC.cpp KeePassXC.hpp
164 Systemd.cpp Systemd.hpp 184 Systemd.cpp Systemd.hpp
185 ListUnitsEntry.cpp ListUnitsEntry.hpp
165 ${DBUS_INTERFACES} 186 ${DBUS_INTERFACES}
187 ${QUICKSHELL_SRC}/src/core/model.cpp ${QUICKSHELL_SRC}/src/core/model.hpp
166) 188)
167 189
168install_qml_module(customplugin) 190install_qml_module(customplugin)