]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/CMakeLists.txt
dolphin can use soprano, but nowhere in apps we look for it; so search for Soprano...
[dolphin.git] / src / CMakeLists.txt
index 8122e52413cfed1119e2f5ee8a1d3f52e628da2e..fe9fd5c2fc7806322aaadeddac6af2a5d3e396b6 100644 (file)
@@ -1,11 +1,13 @@
 
 add_subdirectory( pics )
-add_subdirectory( servicemenus )
 add_subdirectory( tests )
 
-include_directories( ${CMAKE_SOURCE_DIR}/libkonq ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
+macro_optional_find_package(Soprano)
 
-add_definitions (-DQT3_SUPPORT)
+include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${BLITZ_INCLUDES} )
+if (Soprano_FOUND)
+  include_directories( ${SOPRANO_INCLUDE_DIR} )
+endif (Soprano_FOUND)
 
 ########### next target ###############
 
@@ -14,14 +16,19 @@ set(dolphinprivate_LIB_SRCS
     dolphindetailsview.cpp
     dolphiniconsview.cpp
     dolphincolumnview.cpp
-    dolphinitemcategorizer.cpp
+    dolphincolumnwidget.cpp
+    draganddrophelper.cpp
     kcategorizedview.cpp
-    kitemcategorizer.cpp
+    kcategorydrawer.cpp
+    dolphinmodel.cpp
     dolphinsettings.cpp
+    dolphincategorydrawer.cpp
     viewproperties.cpp
     dolphinsortfilterproxymodel.cpp
     renamedialog.cpp
     dolphinview.cpp
+    ratingpainter.cpp
+    dolphindropcontroller.cpp
     )
 
 kde4_add_kcfg_files(dolphinprivate_LIB_SRCS
@@ -36,18 +43,19 @@ kde4_add_kcfg_files(dolphinprivate_LIB_SRCS
 kde4_add_library(dolphinprivate SHARED ${dolphinprivate_LIB_SRCS})
 
 find_package(Nepomuk)
+find_package(Soprano)
 macro_bool_to_01(Nepomuk_FOUND HAVE_NEPOMUK)
 
 configure_file(config-nepomuk.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-nepomuk.h )
 
-target_link_libraries(dolphinprivate ${KDE4_KFILE_LIBS} konq)
+target_link_libraries(dolphinprivate ${KDE4_KFILE_LIBS} konq ${BLITZ_LIBRARIES})
 if (Nepomuk_FOUND)
-  target_link_libraries(dolphinprivate ${NEPOMUK_LIBRARIES})
+  target_link_libraries(dolphinprivate ${NEPOMUK_LIBRARIES} ${SOPRANO_LIBRARIES})
 endif (Nepomuk_FOUND)
 
 
-set_target_properties(dolphinprivate PROPERTIES VERSION 1.0.0 SOVERSION 1 )
-install(TARGETS dolphinprivate  DESTINATION ${LIB_INSTALL_DIR} )
+set_target_properties(dolphinprivate PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
+install(TARGETS dolphinprivate  DESTINATION ${LIB_INSTALL_DIR})
 
 
 ##########################################
@@ -70,6 +78,7 @@ install(FILES dolphinpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
 ##########################################
 
 set(dolphin_SRCS
+   additionalinfodialog.cpp
    applyviewpropsjob.cpp
    columnviewsettingspage.cpp
    detailsviewsettingspage.cpp
@@ -81,6 +90,7 @@ set(dolphin_SRCS
    dolphindirlister.cpp
    dolphincontextmenu.cpp
    dolphinsettingsdialog.cpp
+   draganddrophelper.cpp
    filterbar.cpp
    generalsettingspage.cpp
    generalviewsettingspage.cpp