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
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-03-18 14:21:17 +03:00
g l o b a l s e t t i n g 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 )
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-03-20 20:01:16 +03:00
K F 5 : : A r c h i v e
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-02-18 22:02:34 +03:00
configure_file ( latte-dock.desktop.cmake latte-dock.desktop )
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-02-18 22:02:34 +03:00
install ( FILES ${ CMAKE_CURRENT_BINARY_DIR } /latte-dock.desktop DESTINATION ${ KDE_INSTALL_APPDIR } )
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 } )