Warning, /utilities/kate/addons/search/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 find_package(Qt6Concurrent ${QT_MIN_VERSION} QUIET)
0002 
0003 if(NOT Qt6Concurrent_FOUND)
0004   return()
0005 endif()
0006 
0007 kate_add_plugin(katesearchplugin)
0008 target_compile_definitions(katesearchplugin PRIVATE TRANSLATION_DOMAIN="katesearch")
0009 
0010 target_link_libraries(
0011   katesearchplugin
0012   PRIVATE
0013     Qt::Concurrent
0014     KF6::I18n
0015     KF6::TextEditor
0016     kateprivate
0017 )
0018 
0019 ki18n_wrap_ui(katesearchplugin search.ui results.ui MatchExportDialog.ui)
0020 
0021 target_sources(
0022   katesearchplugin
0023   PRIVATE
0024     FolderFilesList.cpp
0025     KateSearchCommand.cpp
0026     MatchExportDialog.cpp
0027     MatchModel.cpp
0028     MatchProxyModel.cpp
0029     SearchDiskFiles.cpp
0030     SearchResultsDelegate.cpp
0031     plugin.qrc
0032     SearchPlugin.cpp
0033     SearchOpenFiles.cpp
0034     Results.cpp
0035     ResultsTreeView.cpp
0036 )
0037 
0038 if (BUILD_PCH)
0039     target_precompile_headers(katesearchplugin REUSE_FROM katepch)
0040 endif()