diff options
Diffstat (limited to 'konqueror/sidebar/trees/CMakeLists.txt')
-rw-r--r-- | konqueror/sidebar/trees/CMakeLists.txt | 58 |
1 files changed, 58 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} +) |