diff options
Diffstat (limited to 'kioslave/home')
-rw-r--r-- | kioslave/home/CMakeLists.txt | 48 | ||||
-rw-r--r-- | kioslave/home/kdedmodule/CMakeLists.txt | 41 |
2 files changed, 89 insertions, 0 deletions
diff --git a/kioslave/home/CMakeLists.txt b/kioslave/home/CMakeLists.txt new file mode 100644 index 000000000..99639d9cb --- /dev/null +++ b/kioslave/home/CMakeLists.txt @@ -0,0 +1,48 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( kdedmodule ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES home.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### kiohome (static) ########################## + +set( target kiohome ) + +tde_add_library( ${target} STATIC_PIC AUTOMOC + SOURCES kio_home.cpp homeimpl.cpp +) + + +##### kio_home (module) ######################### + +set( target kio_home ) + +tde_add_kpart( ${target} + SOURCES dummy.cpp + EMBED kiohome-static + LINK kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kioslave/home/kdedmodule/CMakeLists.txt b/kioslave/home/kdedmodule/CMakeLists.txt new file mode 100644 index 000000000..0d86f52f7 --- /dev/null +++ b/kioslave/home/kdedmodule/CMakeLists.txt @@ -0,0 +1,41 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES homedirnotify.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded ) + + +##### kded_homedirnotify (module) ############### + +set( target kded_homedirnotify ) + +set( ${target}_SRCS + homedirnotify.cpp homedirnotify.skel + homedirnotifymodule.cpp homedirnotifymodule.skel +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK kdeinit_kded-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) |