From d4f48c6d7bfb713e4b41d47bac4e3aff016a80b5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Nov 2011 14:09:13 -0600 Subject: Initial conversion of kio-locate to CMake This probably won't build yet (cherry picked from commit 78e0d2cd45f327df654c8dd17f7098271398177f) --- src/CMakeLists.txt | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/CMakeLists.txt (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..6677503 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,46 @@ +################################################# +# +# (C) 2011 Timothy Pearson +# kb9vqf (AT) pearsoncomputing.net +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${TQT_INCLUDE_DIRS} + ${CMAKE_BINARY_DIR} + ${CMAKE_BINARY_DIR}/tdecore + ${CMAKE_SOURCE_DIR}/tdecore + ${CMAKE_SOURCE_DIR}/kio/kio +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES locate.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES locater.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES rlocate.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES locate.desktop DESTINATION ${SERVICES_INSTALL_DIR}/searchproviders ) + + +##### kbzip2filter ############################## + +set( target kio_locate ) + +set( ${target}_SRCS + klocateconfig.kcfgc klocateconfigwidget.ui klocateconfigfilterwidget.ui + klocateconfiglocatewidget.ui kio_locate.cpp locater.cpp pattern.cpp +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) \ No newline at end of file -- cgit v1.2.1