Warning, /frameworks/baloo/src/file/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include_directories(${Inotify_INCLUDE_DIRS}) 0002 add_definitions(-DTRANSLATION_DOMAIN=\"baloo_file5\") 0003 0004 set(file_static_lib_SRCS 0005 # File Indexer 0006 mainhub.cpp 0007 fileindexerconfig.cpp 0008 basicindexingjob.cpp 0009 powerstatemonitor.cpp 0010 0011 fileindexscheduler.cpp 0012 0013 firstrunindexer.cpp 0014 newfileindexer.cpp 0015 xattrindexer.cpp 0016 modifiedfileindexer.cpp 0017 unindexedfileindexer.cpp 0018 0019 filecontentindexer.cpp 0020 filecontentindexerprovider.cpp 0021 extractorprocess.cpp 0022 extractor/commandpipe.cpp 0023 timeestimator.cpp 0024 0025 indexcleaner.cpp 0026 0027 # Common 0028 priority.cpp 0029 regexpcache.cpp 0030 fileexcludefilters.cpp 0031 storagedevices.cpp 0032 filtereddiriterator.cpp 0033 unindexedfileiterator.cpp 0034 migrator.cpp 0035 0036 # File Watcher 0037 filewatch.cpp 0038 pendingfilequeue.cpp 0039 metadatamover.cpp 0040 org.kde.BalooWatcherApplication.xml 0041 pendingfile.cpp 0042 kinotify.cpp 0043 0044 propertydata.cpp 0045 ) 0046 0047 ecm_qt_declare_logging_category(file_static_lib_SRCS 0048 HEADER baloodebug.h 0049 IDENTIFIER BALOO 0050 CATEGORY_NAME kf.baloo 0051 ) 0052 0053 # KF6 TODO - remove BalooWatcherApplication 0054 qt_add_dbus_interface(file_static_lib_SRCS org.kde.BalooWatcherApplication.xml baloowatcherapplication_interface) 0055 kconfig_add_kcfg_files(file_static_lib_SRCS ../lib/baloosettings.kcfgc GENERATE_MOC) 0056 0057 add_library(baloofilecommon STATIC ${file_static_lib_SRCS}) 0058 target_link_libraries(baloofilecommon 0059 Qt${QT_MAJOR_VERSION}::DBus 0060 KF5::I18n 0061 KF5::Solid 0062 KF5::FileMetaData 0063 KF5::ConfigCore 0064 KF5::BalooEngine 0065 ${Inotify_LIBRARIES} 0066 ) 0067 0068 set(file_SRCS 0069 main.cpp 0070 ) 0071 0072 if (BUILD_INDEXER_SERVICE) 0073 add_executable(baloo_file ${file_SRCS}) 0074 ecm_mark_nongui_executable(baloo_file) 0075 target_compile_definitions(baloo_file PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}") 0076 0077 target_link_libraries(baloo_file 0078 baloofilecommon 0079 KF5::Crash 0080 ) 0081 0082 install(TARGETS baloo_file DESTINATION ${KDE_INSTALL_FULL_LIBEXECDIR}) 0083 0084 # KF6 TODO - remove compatibility symlink to bin/baloo_file 0085 add_custom_command(TARGET baloo_file 0086 POST_BUILD 0087 COMMAND ${CMAKE_COMMAND} -E create_symlink ${KDE_INSTALL_FULL_LIBEXECDIR}/baloo_file baloo_file) 0088 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/baloo_file DESTINATION ${KDE_INSTALL_FULL_BINDIR}) 0089 0090 ecm_install_configured_files(INPUT baloo_file.desktop.in DESTINATION ${KDE_INSTALL_AUTOSTARTDIR}) 0091 0092 ecm_install_configured_files( 0093 INPUT kde-baloo.service.in 0094 DESTINATION ${KDE_INSTALL_SYSTEMDUSERUNITDIR} 0095 ) 0096 0097 add_subdirectory(extractor) 0098 0099 install(FILES 0100 org.kde.BalooWatcherApplication.xml 0101 DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR} 0102 ) 0103 endif() 0104