2016-12-25 16:37:20 +03:00
set ( lattedock-app_SRCS
2016-12-25 22:28:00 +03:00
. . / l i b l a t t e d o c k / d o c k . c p p
2016-12-29 06:27:55 +03:00
w i n d o w i n f o w r a p . c p p
2016-12-28 10:45:21 +03: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 10:25:27 +03:00
x w i n d o w i n t e r f a c e . c p p
2017-04-25 17:48:36 +03:00
w a y l a n d i n t e r f a c e . c p p
2016-12-28 10:45:21 +03:00
w i n d o w i n f o w r a p . c p p
2016-12-25 10:25:27 +03:00
v i s i b i l i t y m a n a g e r . c p p
2016-12-31 00:31:42 +03: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 22:25:00 +03:00
p a n e l s h a d o w s . c p p
2017-02-14 23:33:45 +03: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 21:58:21 +03:00
s c r e e n p o o l . c p p
2017-06-04 01:58:03 +03:00
g l o b a l s h o r t c u t s . c p p
2017-07-02 15:02:07 +03:00
u n i v e r s a l s e t t i n g s . c p p
l a y o u t m a n a g e r . c p p
2017-07-02 16:12:58 +03:00
l a y o u t s e t t i n g s . c p p
2017-07-05 22:03:39 +03:00
l a y o u t c o n f i g d i a l o g . c p p
2017-07-02 15:02:07 +03:00
i m p o r t e r . c p p
2017-07-18 03:27:35 +03:00
l a y o u t s D e l e g a t e s / c h e c k b o x d e l e g a t e . c p p
2017-07-18 12:58:29 +03:00
l a y o u t s D e l e g a t e s / c o l o r c m b b o x d e l e g a t e . c p p
2017-07-18 17:28:31 +03:00
l a y o u t s D e l e g a t e s / c o l o r c m b b o x i t e m d e l e g a t e . c p p
2017-07-18 21:18:33 +03:00
l a y o u t s D e l e g a t e s / a c t i v i t y c m b b o x d e l e g a t e . c p p
2017-07-26 09:25:56 +03:00
i n f o v i e w . c p p
2017-07-31 03:53:39 +03:00
l a u n c h e r s s i g n a l s . c p p
2016-12-25 10:25:27 +03:00
m a i n . c p p
)
2017-03-11 11:06:10 +03:00
set ( latte_dbusXML dbus/org.kde.LatteDock.xml )
qt5_add_dbus_adaptor ( lattedock-app_SRCS ${ latte_dbusXML } dockcorona.h Latte::DockCorona lattedockadaptor )
2017-07-05 22:03:39 +03:00
ki18n_wrap_ui ( lattedock-app_SRCS layoutconfigdialog.ui )
2017-03-11 11:06:10 +03:00
2016-12-25 16:37:20 +03:00
add_executable ( latte-dock ${ lattedock-app_SRCS } )
2016-12-25 10:25:27 +03:00
2016-12-30 10:10:12 +03:00
include ( FakeTarget.cmake )
2017-02-16 06:14:37 +03:00
target_link_libraries ( latte-dock
2017-03-11 11:06:10 +03:00
Q t 5 : : D B u s
2016-12-25 10:25:27 +03: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 11:06:10 +03:00
K F 5 : : D B u s A d d o n s
2017-01-22 02:27:51 +03:00
K F 5 : : D e c l a r a t i v e
2016-12-25 10:25:27 +03: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 20:01:16 +03:00
K F 5 : : A r c h i v e
2017-08-03 12:53:16 +03:00
K F 5 : : C r a s h
2016-12-25 10:25:27 +03:00
K F 5 : : X m l G u i
K F 5 : : P l a s m a
2016-12-31 00:31:42 +03:00
K F 5 : : P l a s m a Q u i c k
2017-01-07 16:27:26 +03:00
K F 5 : : A c t i v i t i e s
2017-03-20 20:01:16 +03:00
K F 5 : : N o t i f i c a t i o n s
2016-12-25 10:25:27 +03:00
K F 5 : : Q u i c k A d d o n s
2017-01-31 22:25:00 +03:00
K F 5 : : W a y l a n d C l i e n t
2016-12-25 10:25:27 +03:00
)
2017-01-31 22:25:00 +03:00
if ( HAVE_X11 )
2017-02-16 06:14:37 +03: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 22:25:00 +03: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 11:06:10 +03:00
2016-12-25 16:37:20 +03: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 10:05:48 +03:00
install ( FILES dbus/org.kde.LatteDock.xml DESTINATION ${ KDE_INSTALL_DBUSINTERFACEDIR } )
install ( FILES lattedock.notifyrc DESTINATION ${ KNOTIFYRC_INSTALL_DIR } )