dolphin/kfind/CMakeLists.txt
Laurent Montel d05f2bb78e Add module to compile kdebase with kdelibs-cmake.
BE CARREFULL: Don't try to compile it for the moment (in progress)
Don't use kdelibs trunk for compile it (there is not again test to disable
compile when we compile with kdelibs trunk)
For the moment there was a lot of missing test etc.
I commit it just to allow to lose my changes if there is a pb on my HD.
I will sync cmake from kdelibs trunk to kdelibs-snapshot.
I hope to fix compile today or tomorrow.
CCMAIL: neundorf@kde.org

For the futur we must sync kdelibs/cmake/* to kdelibs-snapshot 
to compile all the time with kdelibs-snapshot

svn path=/trunk/KDE/kdebase/konqueror/; revision=514380
2006-02-28 08:01:15 +00:00

89 lines
2.3 KiB
CMake

kde4_header()
add_subdirectory( pics )
include_directories( ${CMAKE_SOURCE_DIR}/libkonq ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
########### next target ###############
########### next target ###############
set(kfindpart_PART_SRCS kfindpart.cpp )
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 ${QT_AND_KDECORE_LIBS} kfind_common kparts konq kde3support )
install_targets(${LIB_INSTALL_DIR}/kde4 kfindpart )
########### next target ###############
set(kfind_SRCS kfwin.cpp kfinddlg.cpp main.cpp )
kde4_automoc(${kfind_SRCS})
kde4_add_executable(kfind ${kfind_SRCS})
target_link_libraries(kfind ${QT_AND_KDECORE_LIBS} kfind_common kparts kde3support )
install_targets(/bin kfind )
########### install files ###############
install_files( ${XDG_APPS_DIR} FILES Kfind.desktop )
install_files( ${SERVICETYPES_INSTALL_DIR} FILES findpart.desktop )
install_files( ${SERVICES_INSTALL_DIR} FILES kfindpart.desktop )
kde4_install_icons( hicolor crystalsvg )
kde4_footer()
#original Makefile.am contents follow:
##Global section
#METASOURCES = AUTO
#EXTRA_DIST = DESCRIPTION
#SUBDIRS = pics
#KDE_ICON = kfind
## set the include path for X, qt and KDE
#INCLUDES= -I$(top_srcdir)/libkonq $(all_includes)
#
#noinst_LTLIBRARIES = libkfind_common.la
#libkfind_common_la_SOURCES = kftabdlg.cpp kfind.cpp kquery.cpp kdatecombo.cpp
#
##This section is kfindpart
#kde_module_LTLIBRARIES = libkfindpart.la
#
#libkfindpart_la_SOURCES = kfindpart.cpp
#libkfindpart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
#libkfindpart_la_LIBADD = libkfind_common.la $(LIB_KPARTS) $(top_builddir)/libkonq/libkonq.la -lkde3support
#
#noinst_HEADERS = kftabdlg.h kfind.h version.h kquery.h kdatecombo.h
#
#xdg_apps_DATA = Kfind.desktop
#
#kde_services_DATA = kfindpart.desktop
#kde_servicetypes_DATA = findpart.desktop
#
#messages:
# $(XGETTEXT) *.cpp *.h -o $(podir)/kfindpart.pot
#
##And this is for kfind
#
#bin_PROGRAMS = kfind
#kfind_SOURCES = kfwin.cpp kfinddlg.cpp main.cpp
#kfind_LDADD = libkfind_common.la $(LIB_KPARTS) -lkde3support
#
## the library search path.
#kfind_LDFLAGS = $(all_libraries) $(KDE_RPATH)