1 project(kioslave_nepomuksearch)
2 KDE4_NO_ENABLE_FINAL(kioslave_nepomuksearch)
9 ${nepomuk_SOURCE_DIR}/libnepomukquery
12 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
14 set(kio_nepomuksearch_PART_SRCS
17 queryserviceclient.cpp
18 ${nepomuk_SOURCE_DIR}/libnepomukquery/result.cpp
19 ${nepomuk_SOURCE_DIR}/libnepomukquery/query.cpp
20 ${nepomuk_SOURCE_DIR}/libnepomukquery/term.cpp
21 ${nepomuk_SOURCE_DIR}/libnepomukquery/queryparser.cpp
22 ${nepomuk_SOURCE_DIR}/libnepomukquery/dbusoperators.cpp
25 set_source_files_properties(
26 ../../interfaces/org.kde.nepomuk.QueryService.xml
27 PROPERTIES INCLUDE "querymetatype.h")
29 set_source_files_properties(
30 ../../interfaces/org.kde.nepomuk.Query.xml
31 PROPERTIES INCLUDE "result.h")
33 qt4_add_dbus_interface(kio_nepomuksearch_PART_SRCS
34 ../../interfaces/org.kde.nepomuk.QueryService.xml
35 queryserviceinterface)
36 qt4_add_dbus_interface(kio_nepomuksearch_PART_SRCS
37 ../../interfaces/org.kde.nepomuk.Query.xml
40 kde4_add_plugin(kio_nepomuksearch
41 ${kio_nepomuksearch_PART_SRCS})
43 target_link_libraries(kio_nepomuksearch
50 TARGETS kio_nepomuksearch
51 DESTINATION ${PLUGIN_INSTALL_DIR})
53 FILES nepomuksearch.protocol
54 DESTINATION ${SERVICES_INSTALL_DIR})