2012-10-16 08:14:56 +00:00
macro_optional_find_package ( Soprano )
2012-10-15 19:46:59 +00:00
macro_optional_find_package ( NepomukCore )
2013-01-02 11:04:18 +00:00
macro_optional_find_package ( NepomukWidgets )
2013-01-07 08:54:47 +00:00
macro_log_feature ( NepomukCore_FOUND "Nepomuk Core" "Nepomuk Core functionality" "http://www.kde.org" FALSE "" "For fetching additional file metadata in dolphin" )
macro_log_feature ( NepomukWidgets_FOUND "Nepomuk Widgets" "Nepomuk Widgets" "http://www.kde.org" FALSE "" "For adding desktop-wide tagging support to dolphin" )
if ( DEFINED NepomukCore_FOUND AND DEFINED NepomukWidgets_FOUND )
set ( HAVE_NEPOMUK TRUE )
endif ( )
2008-06-03 14:44:10 +00:00
configure_file ( config-nepomuk.h.cmake ${ CMAKE_CURRENT_BINARY_DIR } /config-nepomuk.h )
2008-01-04 22:59:55 +00:00
2011-07-30 18:13:09 +00:00
macro_bool_to_01 ( X11_Xrender_FOUND HAVE_XRENDER )
configure_file ( config-X11.h.cmake ${ CMAKE_CURRENT_BINARY_DIR } /config-X11.h )
2012-08-24 11:38:43 +00:00
include_directories ( ${ KACTIVITIES_INCLUDE_DIRS } )
2008-03-21 21:05:05 +00:00
2012-10-15 19:46:59 +00:00
if ( NepomukCore_FOUND )
2008-06-03 14:34:10 +00:00
# Yes, Soprano includes is what we need here
2013-01-02 11:04:18 +00:00
include_directories ( ${ SOPRANO_INCLUDE_DIR } ${ NEPOMUK_CORE_INCLUDE_DIR } ${ NEPOMUK_WIDGETS_INCLUDE_DIR } )
2012-10-15 19:46:59 +00:00
endif ( NepomukCore_FOUND )
2006-11-21 06:02:05 +00:00
2011-04-23 14:12:15 +00:00
add_subdirectory ( tests )
2006-11-21 06:02:05 +00:00
########### next target ###############
2007-03-23 15:32:28 +00:00
set ( dolphinprivate_LIB_SRCS
2011-07-30 18:13:09 +00:00
k i t e m v i e w s / k f i l e i t e m l i s t v i e w . c p p
k i t e m v i e w s / k f i l e i t e m l i s t w i d g e t . c p p
k i t e m v i e w s / k f i l e i t e m m o d e l . c p p
k i t e m v i e w s / k f i l e i t e m m o d e l r o l e s u p d a t e r . c p p
k i t e m v i e w s / k i t e m l i s t c o n t a i n e r . c p p
k i t e m v i e w s / k i t e m l i s t c o n t r o l l e r . c p p
k i t e m v i e w s / k i t e m l i s t g r o u p h e a d e r . c p p
2011-09-19 14:38:07 +00:00
k i t e m v i e w s / k i t e m l i s t h e a d e r . c p p
2011-07-30 18:13:09 +00:00
k i t e m v i e w s / k i t e m l i s t s e l e c t i o n m a n a g e r . c p p
k i t e m v i e w s / k i t e m l i s t s t y l e o p t i o n . c p p
k i t e m v i e w s / k i t e m l i s t v i e w . c p p
2012-08-06 12:10:30 +00:00
k i t e m v i e w s / k i t e m l i s t v i e w a c c e s s i b l e . c p p
2011-07-30 18:13:09 +00:00
k i t e m v i e w s / k i t e m l i s t w i d g e t . c p p
k i t e m v i e w s / k i t e m m o d e l b a s e . c p p
2012-04-21 19:28:16 +00:00
k i t e m v i e w s / k s t a n d a r d i t e m . c p p
2012-04-24 21:16:35 +00:00
k i t e m v i e w s / k s t a n d a r d i t e m l i s t g r o u p h e a d e r . c p p
2012-04-21 19:28:16 +00:00
k i t e m v i e w s / k s t a n d a r d i t e m l i s t w i d g e t . c p p
2012-08-14 17:22:21 +00:00
k i t e m v i e w s / k s t a n d a r d i t e m l i s t v i e w . c p p
2012-04-21 19:28:16 +00:00
k i t e m v i e w s / k s t a n d a r d i t e m m o d e l . c p p
2012-04-11 14:06:18 +00:00
k i t e m v i e w s / p r i v a t e / k f i l e i t e m c l i p b o a r d . c p p
k i t e m v i e w s / p r i v a t e / k f i l e i t e m m o d e l d i r l i s t e r . c p p
k i t e m v i e w s / p r i v a t e / k f i l e i t e m m o d e l s o r t a l g o r i t h m . c p p
k i t e m v i e w s / p r i v a t e / k f i l e i t e m m o d e l f i l t e r . c p p
k i t e m v i e w s / p r i v a t e / k i t e m l i s t h e a d e r w i d g e t . c p p
k i t e m v i e w s / p r i v a t e / k i t e m l i s t k e y b o a r d s e a r c h m a n a g e r . c p p
2012-04-17 16:13:31 +00:00
k i t e m v i e w s / p r i v a t e / k i t e m l i s t r o l e e d i t o r . c p p
2012-04-11 14:06:18 +00:00
k i t e m v i e w s / p r i v a t e / k i t e m l i s t r u b b e r b a n d . c p p
k i t e m v i e w s / p r i v a t e / k i t e m l i s t s e l e c t i o n t o g g l e . c p p
k i t e m v i e w s / p r i v a t e / k i t e m l i s t s i z e h i n t r e s o l v e r . c p p
k i t e m v i e w s / p r i v a t e / k i t e m l i s t s m o o t h s c r o l l e r . c p p
k i t e m v i e w s / p r i v a t e / k i t e m l i s t v i e w a n i m a t i o n . c p p
k i t e m v i e w s / p r i v a t e / k i t e m l i s t v i e w l a y o u t e r . c p p
k i t e m v i e w s / p r i v a t e / k p i x m a p m o d i f i e r . c p p
2009-01-14 20:22:17 +00:00
s e t t i n g s / a d d i t i o n a l i n f o d i a l o g . c p p
s e t t i n g s / a p p l y v i e w p r o p s j o b . c p p
2011-12-08 22:08:01 +00:00
s e t t i n g s / v i e w m o d e s / v i e w m o d e s e t t i n g s . c p p
2009-01-14 19:26:23 +00:00
s e t t i n g s / v i e w p r o p e r t i e s d i a l o g . c p p
s e t t i n g s / v i e w p r o p s p r o g r e s s i n f o . c p p
2011-09-06 21:42:42 +00:00
v i e w s / d o l p h i n f i l e i t e m l i s t w i d g e t . c p p
2012-04-21 19:28:16 +00:00
v i e w s / d o l p h i n i t e m l i s t v i e w . c p p
2010-08-27 05:26:27 +00:00
v i e w s / d o l p h i n n e w f i l e m e n u o b s e r v e r . c p p
2010-07-24 22:08:30 +00:00
v i e w s / d o l p h i n r e m o t e e n c o d i n g . c p p
2011-11-06 10:58:48 +00:00
v i e w s / d o l p h i n v i e w . c p p
2010-07-24 22:08:30 +00:00
v i e w s / d o l p h i n v i e w a c t i o n h a n d l e r . c p p
2011-09-04 15:40:44 +00:00
v i e w s / d r a g a n d d r o p h e l p e r . c p p
2010-07-24 22:17:01 +00:00
v i e w s / r e n a m e d i a l o g . c p p
v i e w s / t o o l t i p s / f i l e m e t a d a t a t o o l t i p . c p p
v i e w s / t o o l t i p s / t o o l t i p m a n a g e r . c p p
v i e w s / v e r s i o n c o n t r o l / u p d a t e i t e m s t a t e s t h r e a d . c p p
v i e w s / v e r s i o n c o n t r o l / v e r s i o n c o n t r o l o b s e r v e r . c p p
2010-07-24 21:45:49 +00:00
v i e w s / v i e w m o d e c o n t r o l l e r . c p p
2010-07-24 22:08:30 +00:00
v i e w s / v i e w p r o p e r t i e s . c p p
2010-07-24 21:45:49 +00:00
v i e w s / z o o m l e v e l i n f o . c p p
2009-11-10 21:41:14 +00:00
)
2009-12-20 04:28:22 +00:00
2012-10-15 19:46:59 +00:00
if ( NepomukCore_FOUND )
2012-04-01 14:42:46 +00:00
set ( dolphinprivate_LIB_SRCS
$ { d o l p h i n p r i v a t e _ L I B _ S R C S }
2012-04-11 14:06:18 +00:00
k i t e m v i e w s / p r i v a t e / k n e p o m u k r o l e s p r o v i d e r . c p p
2012-04-01 14:42:46 +00:00
)
2012-10-15 19:46:59 +00:00
endif ( NepomukCore_FOUND )
2012-04-01 14:42:46 +00:00
2007-03-23 15:32:28 +00:00
kde4_add_kcfg_files ( dolphinprivate_LIB_SRCS
2011-07-30 18:13:09 +00:00
s e t t i n g s / d o l p h i n _ c o m p a c t m o d e s e t t i n g s . k c f g c
2009-01-14 19:26:23 +00:00
s e t t i n g s / d o l p h i n _ d i r e c t o r y v i e w p r o p e r t y s e t t i n g s . k c f g c
s e t t i n g s / d o l p h i n _ d e t a i l s m o d e s e t t i n g s . k c f g c
s e t t i n g s / d o l p h i n _ i c o n s m o d e s e t t i n g s . k c f g c
2009-12-12 22:44:05 +00:00
s e t t i n g s / d o l p h i n _ g e n e r a l s e t t i n g s . k c f g c
s e t t i n g s / d o l p h i n _ v e r s i o n c o n t r o l s e t t i n g s . k c f g c
)
2007-03-23 15:32:28 +00:00
kde4_add_library ( dolphinprivate SHARED ${ dolphinprivate_LIB_SRCS } )
2012-05-05 19:38:01 +00:00
target_link_libraries (
d o l p h i n p r i v a t e
$ { K D E 4 _ K F I L E _ L I B S }
k o n q
$ { K D E 4 _ K N E W S T U F F 3 _ L I B S }
)
2012-10-15 19:46:59 +00:00
if ( NepomukCore_FOUND )
2012-04-06 16:03:24 +00:00
target_link_libraries (
d o l p h i n p r i v a t e
2012-10-15 19:46:59 +00:00
$ { N E P O M U K _ C O R E _ L I B R A R Y }
2013-01-02 11:04:18 +00:00
$ { N E P O M U K _ W I D G E T S _ L I B R A R Y }
2012-04-06 16:03:24 +00:00
$ { S O P R A N O _ L I B R A R I E S }
)
2012-10-15 19:46:59 +00:00
endif ( NepomukCore_FOUND )
2012-04-01 14:42:46 +00:00
2011-07-30 18:13:09 +00:00
if ( X11_Xrender_FOUND )
2012-05-05 19:38:01 +00:00
target_link_libraries ( dolphinprivate ${ X11_Xrender_LIB } )
2011-07-30 18:13:09 +00:00
endif ( X11_Xrender_FOUND )
2012-05-26 16:05:25 +00:00
target_link_libraries ( dolphinprivate ${ KDE4_PLASMA_LIBS } )
2007-12-06 16:55:50 +00:00
set_target_properties ( dolphinprivate PROPERTIES VERSION ${ GENERIC_LIB_VERSION } SOVERSION ${ GENERIC_LIB_SOVERSION } )
2008-04-11 06:52:03 +00:00
install ( TARGETS dolphinprivate ${ INSTALL_TARGETS_DEFAULT_ARGS } )
2007-03-23 15:32:28 +00:00
2007-07-01 14:25:21 +00:00
##########################################
set ( dolphinpart_SRCS
d o l p h i n p a r t . c p p
)
2012-09-12 19:54:37 +00:00
# Add dolphinpart_ext.cpp conditionally, only with KDE > 4.9.1.
if ( ${ KDE_VERSION } VERSION_GREATER "4.9.1" )
set ( dolphinpart_SRCS
$ { d o l p h i n p a r t _ S R C S }
d o l p h i n p a r t _ e x t . c p p )
endif ( ${ KDE_VERSION } VERSION_GREATER "4.9.1" )
2007-07-01 14:25:21 +00:00
kde4_add_plugin ( dolphinpart ${ dolphinpart_SRCS } )
2009-11-09 23:09:16 +00:00
target_link_libraries ( dolphinpart dolphinprivate konq ${ KDE4_KPARTS_LIBS } ${ KDE4_KFILE_LIBS } )
2007-07-01 14:25:21 +00:00
2009-09-13 14:49:26 +00:00
install ( TARGETS dolphinpart DESTINATION ${ PLUGIN_INSTALL_DIR } )
2007-07-01 14:25:21 +00:00
2008-06-10 09:15:19 +00:00
install ( FILES dolphinpart.rc DESTINATION ${ DATA_INSTALL_DIR } /dolphinpart )
2007-07-01 14:25:21 +00:00
install ( FILES dolphinpart.desktop DESTINATION ${ SERVICES_INSTALL_DIR } )
2010-07-24 22:17:01 +00:00
install ( FILES views/versioncontrol/fileviewversioncontrolplugin.desktop DESTINATION ${ SERVICETYPES_INSTALL_DIR } )
2007-07-01 14:25:21 +00:00
2007-03-23 15:32:28 +00:00
##########################################
2006-11-24 22:10:33 +00:00
set ( dolphin_SRCS
2008-03-23 15:54:07 +00:00
d o l p h i n a p p l i c a t i o n . c p p
2010-12-31 10:59:46 +00:00
d o l p h i n d o c k w i d g e t . c p p
2008-03-23 15:54:07 +00:00
d o l p h i n m a i n w i n d o w . c p p
2010-08-27 05:26:27 +00:00
d o l p h i n n e w f i l e m e n u . c p p
2008-03-23 15:54:07 +00:00
d o l p h i n v i e w c o n t a i n e r . c p p
d o l p h i n c o n t e x t m e n u . c p p
2010-07-24 21:45:49 +00:00
f i l t e r b a r / f i l t e r b a r . c p p
2008-03-23 15:54:07 +00:00
m a i n . c p p
2011-01-14 19:55:55 +00:00
p a n e l s / i n f o r m a t i o n / f i l e m e t a d a t a c o n f i g u r a t i o n d i a l o g . c p p
2009-01-14 20:22:17 +00:00
p a n e l s / i n f o r m a t i o n / i n f o r m a t i o n p a n e l . c p p
2009-07-05 22:54:37 +00:00
p a n e l s / i n f o r m a t i o n / i n f o r m a t i o n p a n e l c o n t e n t . c p p
2010-07-24 22:23:16 +00:00
p a n e l s / i n f o r m a t i o n / p i x m a p v i e w e r . c p p
2009-01-27 19:50:21 +00:00
p a n e l s / i n f o r m a t i o n / p h o n o n w i d g e t . c p p
2009-01-14 20:22:17 +00:00
p a n e l s / p l a c e s / p l a c e s p a n e l . c p p
2012-05-05 19:38:01 +00:00
p a n e l s / p l a c e s / p l a c e s i t e m . c p p
2012-04-26 21:39:48 +00:00
p a n e l s / p l a c e s / p l a c e s i t e m e d i t d i a l o g . c p p
2012-04-24 21:16:35 +00:00
p a n e l s / p l a c e s / p l a c e s i t e m l i s t g r o u p h e a d e r . c p p
2012-05-01 21:11:06 +00:00
p a n e l s / p l a c e s / p l a c e s i t e m l i s t w i d g e t . c p p
2012-04-25 21:01:15 +00:00
p a n e l s / p l a c e s / p l a c e s i t e m m o d e l . c p p
2012-05-16 17:15:49 +00:00
p a n e l s / p l a c e s / p l a c e s i t e m s i g n a l h a n d l e r . c p p
2012-09-27 06:11:53 +00:00
p a n e l s / p l a c e s / p l a c e s v i e w . c p p
2009-01-14 20:14:36 +00:00
p a n e l s / p a n e l . c p p
2012-08-13 16:40:43 +00:00
p a n e l s / f o l d e r s / f o l d e r s i t e m l i s t w i d g e t . c p p
2009-01-14 19:26:23 +00:00
p a n e l s / f o l d e r s / t r e e v i e w c o n t e x t m e n u . c p p
2009-01-14 20:14:36 +00:00
p a n e l s / f o l d e r s / f o l d e r s p a n e l . c p p
2012-04-25 00:16:35 +00:00
s e a r c h / d o l p h i n f a c e t s w i d g e t . c p p
2009-10-17 15:05:50 +00:00
s e a r c h / d o l p h i n s e a r c h b o x . c p p
2011-02-02 18:36:08 +00:00
s e a r c h / d o l p h i n s e a r c h i n f o r m a t i o n . c p p
2010-07-24 20:39:19 +00:00
s e t t i n g s / g e n e r a l / b e h a v i o r s e t t i n g s p a g e . c p p
2011-02-25 19:39:18 +00:00
s e t t i n g s / g e n e r a l / c o n f i g u r e p r e v i e w p l u g i n d i a l o g . c p p
2012-04-08 21:15:32 +00:00
s e t t i n g s / g e n e r a l / c o n f i r m a t i o n s s e t t i n g s p a g e . c p p
2010-07-24 20:39:19 +00:00
s e t t i n g s / g e n e r a l / g e n e r a l s e t t i n g s p a g e . c p p
s e t t i n g s / g e n e r a l / p r e v i e w s s e t t i n g s p a g e . c p p
s e t t i n g s / g e n e r a l / s t a t u s b a r s e t t i n g s p a g e . c p p
2009-01-14 20:22:17 +00:00
s e t t i n g s / d o l p h i n s e t t i n g s d i a l o g . c p p
2010-07-24 20:39:19 +00:00
s e t t i n g s / n a v i g a t i o n / n a v i g a t i o n s e t t i n g s p a g e . c p p
s e t t i n g s / s e r v i c e s / s e r v i c e s s e t t i n g s p a g e . c p p
2009-01-17 18:42:06 +00:00
s e t t i n g s / s e t t i n g s p a g e b a s e . c p p
2011-02-25 19:39:18 +00:00
s e t t i n g s / s e r v i c e i t e m d e l e g a t e . c p p
s e t t i n g s / s e r v i c e m o d e l . c p p
2010-07-24 20:39:19 +00:00
s e t t i n g s / s t a r t u p / s t a r t u p s e t t i n g s p a g e . c p p
s e t t i n g s / t r a s h / t r a s h s e t t i n g s p a g e . c p p
s e t t i n g s / v i e w m o d e s / d o l p h i n f o n t r e q u e s t e r . c p p
s e t t i n g s / v i e w m o d e s / v i e w s e t t i n g s p a g e . c p p
2011-12-08 22:08:01 +00:00
s e t t i n g s / v i e w m o d e s / v i e w m o d e s e t t i n g s . c p p
2011-09-02 17:48:57 +00:00
s e t t i n g s / v i e w m o d e s / v i e w s e t t i n g s t a b . c p p
2009-08-01 20:01:51 +00:00
s t a t u s b a r / d o l p h i n s t a t u s b a r . c p p
s t a t u s b a r / s t a t u s b a r s p a c e i n f o . c p p
2010-07-24 21:45:49 +00:00
v i e w s / z o o m l e v e l i n f o . c p p
2009-11-21 22:08:59 +00:00
)
2008-03-23 15:54:07 +00:00
kde4_add_kcfg_files ( dolphin_SRCS
2009-03-10 19:21:21 +00:00
p a n e l s / f o l d e r s / d o l p h i n _ f o l d e r s p a n e l s e t t i n g s . k c f g c
2009-11-21 22:08:59 +00:00
p a n e l s / i n f o r m a t i o n / d o l p h i n _ i n f o r m a t i o n p a n e l s e t t i n g s . k c f g c
2012-09-27 06:11:53 +00:00
p a n e l s / p l a c e s / d o l p h i n _ p l a c e s p a n e l s e t t i n g s . k c f g c
2011-07-30 18:13:09 +00:00
s e t t i n g s / d o l p h i n _ c o m p a c t m o d e s e t t i n g s . k c f g c
s e t t i n g s / d o l p h i n _ d e t a i l s m o d e s e t t i n g s . k c f g c
2011-08-08 21:41:18 +00:00
s e t t i n g s / d o l p h i n _ g e n e r a l s e t t i n g s . k c f g c
2011-07-30 18:13:09 +00:00
s e t t i n g s / d o l p h i n _ i c o n s m o d e s e t t i n g s . k c f g c
2009-11-21 22:08:59 +00:00
s e a r c h / d o l p h i n _ s e a r c h s e t t i n g s . k c f g c
2010-04-04 20:45:09 +00:00
s e t t i n g s / d o l p h i n _ v e r s i o n c o n t r o l s e t t i n g s . k c f g c
2009-11-21 22:08:59 +00:00
)
2006-11-21 06:02:05 +00:00
2008-03-10 17:33:30 +00:00
if ( NOT WIN32 )
2009-01-14 20:14:36 +00:00
set ( dolphin_SRCS ${ dolphin_SRCS } panels/terminal/terminalpanel.cpp )
2008-03-10 17:33:30 +00:00
endif ( NOT WIN32 )
2006-11-21 06:02:05 +00:00
2008-04-02 21:32:47 +00:00
kde4_add_app_icon ( dolphin_SRCS "${KDE4_ICON_INSTALL_DIR}/oxygen/*/apps/system-file-manager.png" )
2010-03-16 12:30:46 +00:00
kde4_add_kdeinit_executable ( dolphin ${ dolphin_SRCS } )
2007-05-01 15:18:07 +00:00
2010-03-16 12:30:46 +00:00
target_link_libraries ( kdeinit_dolphin
2009-11-24 07:15:24 +00:00
$ { K D E 4 _ K D E P R I N T _ L I B S }
$ { K D E 4 _ K F I L E _ L I B S }
2010-08-27 20:13:36 +00:00
$ { K D E 4 _ K P A R T S _ L I B S }
2010-05-12 15:58:45 +00:00
$ { K D E 4 _ K C M U T I L S _ L I B R A R Y }
2009-11-24 07:15:24 +00:00
k o n q
d o l p h i n p r i v a t e
2009-12-07 21:20:28 +00:00
k n e w s t u f f 3
2012-05-05 19:38:01 +00:00
$ { K D E 4 _ S O L I D _ L I B S }
2009-11-24 07:15:24 +00:00
$ { K D E 4 _ P H O N O N _ L I B S }
)
2007-05-02 10:02:19 +00:00
2012-10-15 19:46:59 +00:00
if ( NepomukCore_FOUND )
2010-03-16 12:30:46 +00:00
target_link_libraries ( kdeinit_dolphin
2012-10-15 19:46:59 +00:00
$ { N E P O M U K _ C O R E _ L I B R A R Y }
2013-01-02 11:04:18 +00:00
$ { N E P O M U K _ W I D G E T S _ L I B R A R Y }
2009-11-24 07:15:24 +00:00
$ { S O P R A N O _ L I B R A R I E S }
)
2012-10-15 19:46:59 +00:00
endif ( NepomukCore_FOUND )
2006-11-21 06:02:05 +00:00
2012-08-10 15:49:39 +00:00
if ( KActivities_FOUND )
target_link_libraries (
k d e i n i t _ d o l p h i n
$ { K A C T I V I T I E S _ L I B R A R Y }
)
endif ( KActivities_FOUND )
2010-03-16 12:30:46 +00:00
install ( TARGETS kdeinit_dolphin ${ INSTALL_TARGETS_DEFAULT_ARGS } )
2008-05-27 11:36:57 +00:00
install ( TARGETS dolphin ${ INSTALL_TARGETS_DEFAULT_ARGS } )
2006-11-21 06:02:05 +00:00
2008-03-23 15:54:07 +00:00
##########################################
2009-01-17 18:42:06 +00:00
set ( kcm_dolphinviewmodes_PART_SRCS
2010-07-24 20:49:56 +00:00
s e t t i n g s / k c m / k c m d o l p h i n v i e w m o d e s . c p p
2010-07-24 20:39:19 +00:00
s e t t i n g s / v i e w m o d e s / d o l p h i n f o n t r e q u e s t e r . c p p
2011-12-08 22:08:01 +00:00
s e t t i n g s / v i e w m o d e s / v i e w m o d e s e t t i n g s . c p p
2011-09-02 17:48:57 +00:00
s e t t i n g s / v i e w m o d e s / v i e w s e t t i n g s t a b . c p p
2010-07-24 21:45:49 +00:00
v i e w s / z o o m l e v e l i n f o . c p p )
2009-01-19 10:39:11 +00:00
set ( kcm_dolphinnavigation_PART_SRCS
2010-07-24 20:49:56 +00:00
s e t t i n g s / k c m / k c m d o l p h i n n a v i g a t i o n . c p p
2010-07-24 20:39:19 +00:00
s e t t i n g s / n a v i g a t i o n / n a v i g a t i o n s e t t i n g s p a g e . c p p
2009-01-19 10:39:11 +00:00
s e t t i n g s / s e t t i n g s p a g e b a s e . c p p )
2008-03-23 15:54:07 +00:00
2009-02-26 20:38:42 +00:00
set ( kcm_dolphinservices_PART_SRCS
2010-07-24 20:49:56 +00:00
s e t t i n g s / k c m / k c m d o l p h i n s e r v i c e s . c p p
2010-07-24 20:39:19 +00:00
s e t t i n g s / s e r v i c e s / s e r v i c e s s e t t i n g s p a g e . c p p
2011-02-25 19:39:18 +00:00
s e t t i n g s / s e t t i n g s p a g e b a s e . c p p
s e t t i n g s / s e r v i c e i t e m d e l e g a t e . c p p
s e t t i n g s / s e r v i c e m o d e l . c p p )
2009-02-26 20:38:42 +00:00
2009-01-19 11:11:11 +00:00
set ( kcm_dolphingeneral_PART_SRCS
2010-07-24 20:49:56 +00:00
s e t t i n g s / k c m / k c m d o l p h i n g e n e r a l . c p p
2010-07-24 20:39:19 +00:00
s e t t i n g s / g e n e r a l / b e h a v i o r s e t t i n g s p a g e . c p p
s e t t i n g s / g e n e r a l / p r e v i e w s s e t t i n g s p a g e . c p p
2011-02-25 19:39:18 +00:00
s e t t i n g s / g e n e r a l / c o n f i g u r e p r e v i e w p l u g i n d i a l o g . c p p
2012-04-08 21:15:32 +00:00
s e t t i n g s / g e n e r a l / c o n f i r m a t i o n s s e t t i n g s p a g e . c p p
2011-02-25 19:39:18 +00:00
s e t t i n g s / s e t t i n g s p a g e b a s e . c p p
s e t t i n g s / s e r v i c e i t e m d e l e g a t e . c p p
s e t t i n g s / s e r v i c e m o d e l . c p p )
2009-01-19 11:11:11 +00:00
2009-01-17 18:42:06 +00:00
kde4_add_kcfg_files ( kcm_dolphinviewmodes_PART_SRCS
2011-07-30 18:13:09 +00:00
s e t t i n g s / d o l p h i n _ c o m p a c t m o d e s e t t i n g s . k c f g c
2009-01-14 19:26:23 +00:00
s e t t i n g s / d o l p h i n _ d i r e c t o r y v i e w p r o p e r t y s e t t i n g s . k c f g c
s e t t i n g s / d o l p h i n _ d e t a i l s m o d e s e t t i n g s . k c f g c
s e t t i n g s / d o l p h i n _ i c o n s m o d e s e t t i n g s . k c f g c
2009-12-12 22:44:05 +00:00
s e t t i n g s / d o l p h i n _ g e n e r a l s e t t i n g s . k c f g c
s e t t i n g s / d o l p h i n _ v e r s i o n c o n t r o l s e t t i n g s . k c f g c
)
2008-03-23 15:54:07 +00:00
2009-01-19 10:39:11 +00:00
kde4_add_kcfg_files ( kcm_dolphinnavigation_PART_SRCS
s e t t i n g s / d o l p h i n _ g e n e r a l s e t t i n g s . k c f g c )
2009-02-26 20:38:42 +00:00
kde4_add_kcfg_files ( kcm_dolphinservices_PART_SRCS
2010-04-04 20:45:09 +00:00
s e t t i n g s / d o l p h i n _ g e n e r a l s e t t i n g s . k c f g c
s e t t i n g s / d o l p h i n _ v e r s i o n c o n t r o l s e t t i n g s . k c f g c )
2009-02-26 20:38:42 +00:00
2009-01-19 11:11:11 +00:00
kde4_add_kcfg_files ( kcm_dolphingeneral_PART_SRCS
s e t t i n g s / d o l p h i n _ g e n e r a l s e t t i n g s . k c f g c )
2009-01-17 18:42:06 +00:00
kde4_add_plugin ( kcm_dolphinviewmodes ${ kcm_dolphinviewmodes_PART_SRCS } )
2009-01-19 10:39:11 +00:00
kde4_add_plugin ( kcm_dolphinnavigation ${ kcm_dolphinnavigation_PART_SRCS } )
2009-02-26 20:38:42 +00:00
kde4_add_plugin ( kcm_dolphinservices ${ kcm_dolphinservices_PART_SRCS } )
2009-01-19 11:11:11 +00:00
kde4_add_plugin ( kcm_dolphingeneral ${ kcm_dolphingeneral_PART_SRCS } )
2008-03-23 15:54:07 +00:00
2009-01-17 18:42:06 +00:00
target_link_libraries ( kcm_dolphinviewmodes ${ KDE4_KDEUI_LIBS } ${ KDE4_KFILE_LIBS } dolphinprivate )
2009-01-19 10:39:11 +00:00
target_link_libraries ( kcm_dolphinnavigation ${ KDE4_KDEUI_LIBS } ${ KDE4_KFILE_LIBS } dolphinprivate )
2009-12-07 21:20:28 +00:00
target_link_libraries ( kcm_dolphinservices ${ KDE4_KDEUI_LIBS } ${ KDE4_KFILE_LIBS } ${ KDE4_KIO_LIBS } ${ KDE4_KNEWSTUFF3_LIBRARY } dolphinprivate )
2009-11-06 16:51:42 +00:00
target_link_libraries ( kcm_dolphingeneral ${ KDE4_KDEUI_LIBS } ${ KDE4_KFILE_LIBS } ${ KDE4_KIO_LIBS } dolphinprivate )
2012-10-15 19:46:59 +00:00
if ( NepomukCore_FOUND )
2013-01-02 11:04:18 +00:00
target_link_libraries ( kcm_dolphinviewmodes ${ NEPOMUK_CORE_LIBRARY } ${ NEPOMUK_WIDGETS_LIBRARY } )
target_link_libraries ( kcm_dolphinnavigation ${ NEPOMUK_CORE_LIBRARY } ${ NEPOMUK_WIDGETS_LIBRARY } )
target_link_libraries ( kcm_dolphinservices ${ NEPOMUK_CORE_LIBRARY } ${ NEPOMUK_WIDGETS_LIBRARY } )
target_link_libraries ( kcm_dolphingeneral ${ NEPOMUK_CORE_LIBRARY } ${ NEPOMUK_WIDGETS_LIBRARY } )
2012-10-15 19:46:59 +00:00
endif ( NepomukCore_FOUND )
2008-03-23 15:54:07 +00:00
2009-01-17 18:42:06 +00:00
install ( TARGETS kcm_dolphinviewmodes DESTINATION ${ PLUGIN_INSTALL_DIR } )
2009-01-19 10:39:11 +00:00
install ( TARGETS kcm_dolphinnavigation DESTINATION ${ PLUGIN_INSTALL_DIR } )
2009-02-26 20:38:42 +00:00
install ( TARGETS kcm_dolphinservices DESTINATION ${ PLUGIN_INSTALL_DIR } )
2009-01-19 11:11:11 +00:00
install ( TARGETS kcm_dolphingeneral DESTINATION ${ PLUGIN_INSTALL_DIR } )
2006-11-21 06:02:05 +00:00
2010-07-24 16:37:07 +00:00
#########################################
set ( kio_search_PART_SRCS
s e a r c h / f i l e n a m e s e a r c h p r o t o c o l . c p p )
kde4_add_plugin ( kio_filenamesearch ${ kio_search_PART_SRCS } )
target_link_libraries ( kio_filenamesearch ${ KDE4_KIO_LIBS } )
install ( TARGETS kio_filenamesearch DESTINATION ${ PLUGIN_INSTALL_DIR } )
2006-11-21 06:02:05 +00:00
########### install files ###############
2010-10-19 12:44:48 +00:00
install ( PROGRAMS dolphin.desktop DESTINATION ${ XDG_APPS_INSTALL_DIR } )
2009-12-12 22:44:05 +00:00
install ( FILES settings/dolphin_directoryviewpropertysettings.kcfg
s e t t i n g s / d o l p h i n _ g e n e r a l s e t t i n g s . k c f g
2011-07-30 18:13:09 +00:00
s e t t i n g s / d o l p h i n _ c o m p a c t m o d e s e t t i n g s . k c f g
2009-12-12 22:44:05 +00:00
s e t t i n g s / d o l p h i n _ i c o n s m o d e s e t t i n g s . k c f g
s e t t i n g s / d o l p h i n _ d e t a i l s m o d e s e t t i n g s . k c f g
s e t t i n g s / d o l p h i n _ v e r s i o n c o n t r o l s e t t i n g s . k c f g
D E S T I N A T I O N $ { K C F G _ I N S T A L L _ D I R } )
install ( FILES dolphinui.rc DESTINATION ${ DATA_INSTALL_DIR } /dolphin )
2010-07-24 16:37:07 +00:00
install ( FILES search/filenamesearch.protocol DESTINATION ${ SERVICES_INSTALL_DIR } )
2010-07-24 20:49:56 +00:00
install ( FILES settings/kcm/kcmdolphinviewmodes.desktop DESTINATION
2010-07-24 16:37:07 +00:00
$ { S E R V I C E S _ I N S T A L L _ D I R } )
2010-07-24 20:49:56 +00:00
install ( FILES settings/kcm/kcmdolphinnavigation.desktop DESTINATION ${ SERVICES_INSTALL_DIR } )
install ( FILES settings/kcm/kcmdolphinservices.desktop DESTINATION ${ SERVICES_INSTALL_DIR } )
install ( FILES settings/kcm/kcmdolphingeneral.desktop DESTINATION ${ SERVICES_INSTALL_DIR } )
2010-07-24 20:58:05 +00:00
install ( FILES settings/services/servicemenu.knsrc DESTINATION ${ CONFIG_INSTALL_DIR } )
install ( PROGRAMS settings/services/servicemenuinstallation DESTINATION ${ BIN_INSTALL_DIR } )
install ( PROGRAMS settings/services/servicemenudeinstallation DESTINATION ${ BIN_INSTALL_DIR } )
2010-07-24 16:37:07 +00:00