2016-12-25 15:37:20 +02:00
set ( lattedock-app_SRCS
2016-12-25 21:28:00 +02:00
. . / l i b l a t t e d o c k / d o c k . c p p
2016-12-28 22:27:55 -05:00
w i n d o w i n f o w r a p . c p p
2016-12-28 02:45:21 -05:00
a b s t r a c t w i n d o w i n t e r f a c e . c p p
2016-12-25 09:25:27 +02:00
x w i n d o w i n t e r f a c e . c p p
2016-12-28 02:45:21 -05:00
w i n d o w i n f o w r a p . c p p
2016-12-25 09:25:27 +02:00
v i s i b i l i t y m a n a g e r . c p p
2016-12-30 16:31:42 -05:00
d o c k c o r o n a . c p p
d o c k v i e w . c p p
d o c k c o n f i g v i e w . c p p
p a c k a g e p l u g i n s / s h e l l / d o c k p a c k a g e . c p p
2017-01-31 21:25:00 +02:00
p a n e l s h a d o w s . c p p
2017-02-14 15:33:45 -05:00
a l t e r n a t i v e s h e l p e r . c p p
2017-02-24 20:58:21 +02:00
s c r e e n p o o l . c p p
2017-03-18 13:21:17 +02:00
g l o b a l s e t t i n g s . c p p
2016-12-25 09:25:27 +02:00
m a i n . c p p
)
2017-03-11 10:06:10 +02:00
set ( latte_dbusXML dbus/org.kde.LatteDock.xml )
qt5_add_dbus_adaptor ( lattedock-app_SRCS ${ latte_dbusXML } dockcorona.h Latte::DockCorona lattedockadaptor )
2016-12-25 15:37:20 +02:00
add_executable ( latte-dock ${ lattedock-app_SRCS } )
2016-12-25 09:25:27 +02:00
2016-12-30 02:10:12 -05:00
include ( FakeTarget.cmake )
2017-02-15 22:14:37 -05:00
target_link_libraries ( latte-dock
2017-03-11 10:06:10 +02:00
Q t 5 : : D B u s
2016-12-25 09:25:27 +02:00
Q t 5 : : Q u i c k
Q t 5 : : Q m l
K F 5 : : I 1 8 n
2017-03-11 10:06:10 +02:00
K F 5 : : D B u s A d d o n s
2017-01-21 18:27:51 -05:00
K F 5 : : D e c l a r a t i v e
2016-12-25 09:25:27 +02:00
K F 5 : : C o r e A d d o n s
2017-04-06 20:00:48 +03:00
K F 5 : : G l o b a l A c c e l
2017-03-20 12:01:16 -05:00
K F 5 : : A r c h i v e
2016-12-25 09:25:27 +02:00
K F 5 : : X m l G u i
K F 5 : : P l a s m a
2016-12-30 16:31:42 -05:00
K F 5 : : P l a s m a Q u i c k
2017-01-07 15:27:26 +02:00
K F 5 : : A c t i v i t i e s
2017-03-20 12:01:16 -05:00
K F 5 : : N o t i f i c a t i o n s
2016-12-25 09:25:27 +02:00
K F 5 : : Q u i c k A d d o n s
2017-01-31 21:25:00 +02:00
K F 5 : : W a y l a n d C l i e n t
2016-12-25 09:25:27 +02:00
)
2017-01-31 21:25:00 +02:00
if ( HAVE_X11 )
2017-02-15 22:14:37 -05:00
target_link_libraries ( latte-dock
Q t 5 : : X 1 1 E x t r a s
K F 5 : : W i n d o w S y s t e m
$ { X 1 1 _ L I B R A R I E S }
$ { X C B _ L I B R A R I E S }
)
2017-01-31 21:25:00 +02:00
endif ( )
2017-05-12 23:25:22 +03:00
configure_file ( org.kde.latte-dock.desktop.cmake org.kde.latte-dock.desktop )
2017-05-13 00:10:47 +03:00
configure_file ( org.kde.latte-dock.appdata.xml.cmake org.kde.latte-dock.appdata.xml )
2017-03-11 10:06:10 +02:00
2016-12-25 15:37:20 +02:00
install ( TARGETS latte-dock ${ KDE_INSTALL_TARGETS_DEFAULT_ARGS } )
2017-05-12 23:25:22 +03:00
install ( FILES ${ CMAKE_CURRENT_BINARY_DIR } /org.kde.latte-dock.desktop DESTINATION ${ KDE_INSTALL_APPDIR } )
2017-05-13 00:10:47 +03:00
install ( FILES ${ CMAKE_CURRENT_BINARY_DIR } /org.kde.latte-dock.appdata.xml DESTINATION ${ KDE_INSTALL_METAINFODIR } )
2017-03-21 02:05:48 -05:00
install ( FILES dbus/org.kde.LatteDock.xml DESTINATION ${ KDE_INSTALL_DBUSINTERFACEDIR } )
install ( FILES lattedock.notifyrc DESTINATION ${ KNOTIFYRC_INSTALL_DIR } )