dolphin/kfind/CMakeLists.txt
Urs Wolfer 59e4afe8ca * Work on layout. It looks now like the KDE3 one.
* cleanups: remove unused and outdated files, source-cleanups

svn path=/trunk/KDE/kdebase/apps/; revision=572747
2006-08-13 20:14:25 +00:00

43 lines
1.1 KiB
CMake

project(kfind)
include_directories( ${CMAKE_SOURCE_DIR}/libkonq )
########### next target ###############
set(libkfindcommon_SRCS kftabdlg.cpp kfind.cpp kquery.cpp kdatecombo.cpp)
set(kfindpart_PART_SRCS kfindpart.cpp ${libkfindcommon_SRCS})
kde4_automoc(${kfindpart_PART_SRCS})
kde4_add_plugin(kfindpart WITH_PREFIX ${kfindpart_PART_SRCS})
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kfindpart )
target_link_libraries(kfindpart ${KDE4_KDE3SUPPORT_LIBS} konq )
install(TARGETS kfindpart DESTINATION ${PLUGIN_INSTALL_DIR} )
########### next target ###############
set(kfind_SRCS kfwin.cpp kfinddlg.cpp main.cpp ${libkfindcommon_SRCS})
kde4_automoc(${kfind_SRCS})
kde4_add_executable(kfind ${kfind_SRCS})
target_link_libraries(kfind ${KDE4_KDE3SUPPORT_LIBS} )
install(TARGETS kfind DESTINATION ${BIN_INSTALL_DIR})
########### install files ###############
install( FILES kfind.desktop DESTINATION ${XDG_APPS_DIR} )
install( FILES findpart.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
install( FILES kfindpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
kde4_install_icons( ${ICON_INSTALL_DIR} hicolor )