diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-23 23:42:11 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-23 23:42:11 +0000 |
commit | b6fc43ccd522dfbc1e215b12adb8208c156bbd31 (patch) | |
tree | b6d14378dd6c3d2f74ea8acf515cef7f4a024cb2 /konqueror/sidebar/trees | |
parent | d53bf360906757a36588588fb0286d3b4784ffcb (diff) | |
download | tdebase-b6fc43ccd522dfbc1e215b12adb8208c156bbd31.tar.gz tdebase-b6fc43ccd522dfbc1e215b12adb8208c156bbd31.zip |
[kdebase] initial cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1216551 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konqueror/sidebar/trees')
-rw-r--r-- | konqueror/sidebar/trees/CMakeLists.txt | 58 | ||||
-rw-r--r-- | konqueror/sidebar/trees/bookmark_module/CMakeLists.txt | 39 | ||||
-rw-r--r-- | konqueror/sidebar/trees/dirtree_module/CMakeLists.txt | 38 | ||||
-rw-r--r-- | konqueror/sidebar/trees/history_module/CMakeLists.txt | 60 | ||||
-rw-r--r-- | konqueror/sidebar/trees/init/CMakeLists.txt | 34 | ||||
-rw-r--r-- | konqueror/sidebar/trees/init/remote/CMakeLists.txt | 20 | ||||
-rw-r--r-- | konqueror/sidebar/trees/init/remote/ftp/CMakeLists.txt | 14 | ||||
-rw-r--r-- | konqueror/sidebar/trees/init/remote/web/CMakeLists.txt | 15 | ||||
-rw-r--r-- | konqueror/sidebar/trees/init/services/CMakeLists.txt | 15 |
9 files changed, 293 insertions, 0 deletions
diff --git a/konqueror/sidebar/trees/CMakeLists.txt b/konqueror/sidebar/trees/CMakeLists.txt new file mode 100644 index 000000000..216b58d37 --- /dev/null +++ b/konqueror/sidebar/trees/CMakeLists.txt @@ -0,0 +1,58 @@ +################################################# +# +# (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( init ) +add_subdirectory( dirtree_module ) +add_subdirectory( history_module ) +add_subdirectory( bookmark_module ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/konqueror/sidebar + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### konq_sidebar_tree (static lib) ############ + +set( target konq_sidebar_tree ) + +set( ${target}_SRCS + konq_sidebartree.cpp konq_sidebartreeitem.cpp + konq_sidebartreetoplevelitem.cpp +) + +tde_add_library( ${target} STATIC_PIC AUTOMOC + SOURCES ${${target}_SRCS} + LINK konqsidebarplugin-shared konq-shared +) + + +##### konqsidebar_tree (module) ################# + +set( target konqsidebar_tree ) + +set( ${target}_SRCS + konqsidebar_tree.cpp +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konq_sidebar_tree-static + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/sidebar/trees/bookmark_module/CMakeLists.txt b/konqueror/sidebar/trees/bookmark_module/CMakeLists.txt new file mode 100644 index 000000000..032235648 --- /dev/null +++ b/konqueror/sidebar/trees/bookmark_module/CMakeLists.txt @@ -0,0 +1,39 @@ +################################################# +# +# (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} + ${CMAKE_SOURCE_DIR}/konqueror/sidebar + ${CMAKE_SOURCE_DIR}/konqueror/sidebar/trees + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### konq_sidebartree_bookmarks (module) ####### + +set( target konq_sidebartree_bookmarks ) + +set( ${target}_SRCS + bookmark_module.cpp bookmark_item.cpp +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konq_sidebar_tree-static + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/sidebar/trees/dirtree_module/CMakeLists.txt b/konqueror/sidebar/trees/dirtree_module/CMakeLists.txt new file mode 100644 index 000000000..dbffc25b4 --- /dev/null +++ b/konqueror/sidebar/trees/dirtree_module/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (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} + ${CMAKE_SOURCE_DIR}/konqueror/sidebar + ${CMAKE_SOURCE_DIR}/konqueror/sidebar/trees + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + +##### konq_sidebartree_dirtree (module) ######### + +set( target konq_sidebartree_dirtree ) + +set( ${target}_SRCS + dirtree_module.cpp dirtree_item.cpp +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konq_sidebar_tree-static + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/sidebar/trees/history_module/CMakeLists.txt b/konqueror/sidebar/trees/history_module/CMakeLists.txt new file mode 100644 index 000000000..799342ee8 --- /dev/null +++ b/konqueror/sidebar/trees/history_module/CMakeLists.txt @@ -0,0 +1,60 @@ +################################################# +# +# (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} + ${CMAKE_SOURCE_DIR}/konqueror/sidebar + ${CMAKE_SOURCE_DIR}/konqueror/sidebar/trees + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES kcmhistory.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) + + +##### konq_sidebartree_history (module) ######### + +set( target konq_sidebartree_history ) + +set( ${target}_SRCS + history_module.cpp history_item.cpp + history_settings.cpp history_settings.skel +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konq_sidebar_tree-static + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### kcm_history (module) ###################### + +set( target kcm_history ) + +set( ${target}_SRCS + kcmhistory.cpp history_dlg.ui history_settings.cpp + history_settings.skel +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konq-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/sidebar/trees/init/CMakeLists.txt b/konqueror/sidebar/trees/init/CMakeLists.txt new file mode 100644 index 000000000..02df2aba3 --- /dev/null +++ b/konqueror/sidebar/trees/init/CMakeLists.txt @@ -0,0 +1,34 @@ +################################################# +# +# (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( remote ) +add_subdirectory( services ) + + +##### other data ################################ + +install( FILES + home.desktop root.desktop history.desktop bookmarks.desktop + services.desktop remote.desktop system.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/entries ) + +install( FILES + home.desktop root.desktop history.desktop bookmarks.desktop + services.desktop remote.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/kicker_entries ) + +install( FILES + virtualfolderadd.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add ) + +install( FILES + history_module.desktop dirtree_module.desktop bookmarks_module.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/dirtree ) diff --git a/konqueror/sidebar/trees/init/remote/CMakeLists.txt b/konqueror/sidebar/trees/init/remote/CMakeLists.txt new file mode 100644 index 000000000..2c8099ed8 --- /dev/null +++ b/konqueror/sidebar/trees/init/remote/CMakeLists.txt @@ -0,0 +1,20 @@ +################################################# +# +# (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( ftp ) +add_subdirectory( web ) + + +##### other data ################################ + +install( FILES + .directory + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/remote ) diff --git a/konqueror/sidebar/trees/init/remote/ftp/CMakeLists.txt b/konqueror/sidebar/trees/init/remote/ftp/CMakeLists.txt new file mode 100644 index 000000000..c1ed4c80e --- /dev/null +++ b/konqueror/sidebar/trees/init/remote/ftp/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory kde_ftp.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/remote/ftp ) diff --git a/konqueror/sidebar/trees/init/remote/web/CMakeLists.txt b/konqueror/sidebar/trees/init/remote/web/CMakeLists.txt new file mode 100644 index 000000000..0d2471685 --- /dev/null +++ b/konqueror/sidebar/trees/init/remote/web/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory apps_web.desktop dot_web.desktop + kde_web.desktop look_web.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/remote/web ) diff --git a/konqueror/sidebar/trees/init/services/CMakeLists.txt b/konqueror/sidebar/trees/init/services/CMakeLists.txt new file mode 100644 index 000000000..524380aa8 --- /dev/null +++ b/konqueror/sidebar/trees/init/services/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory audiocd.desktop printsystem.desktop + media.desktop settings.desktop applications.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/services ) |