Warning, /kdevelop/kdevelop/plugins/grepview/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"kdevgrepview\")
0002 
0003 ########### next target ###############
0004 
0005 declare_qt_logging_category(kdevgrepview_LOG_PART_SRCS
0006     TYPE PLUGIN
0007     IDENTIFIER PLUGIN_GREPVIEW
0008     CATEGORY_BASENAME "grepview"
0009 )
0010 
0011 set(kdevgrepview_PART_SRCS
0012     grepviewplugin.cpp
0013     grepviewpluginmetadata.cpp
0014     grepdialog.cpp
0015     grepoutputmodel.cpp
0016     grepoutputdelegate.cpp
0017     grepjob.cpp
0018     grepfindthread.cpp
0019     grepoutputview.cpp
0020     greputil.cpp
0021     ${kdevgrepview_LOG_PART_SRCS}
0022 )
0023 
0024 set(kdevgrepview_PART_UI
0025     grepwidget.ui
0026     grepoutputview.ui
0027 )
0028 
0029 ki18n_wrap_ui(kdevgrepview_PART_SRCS ${kdevgrepview_PART_UI})
0030 
0031 qt5_add_resources(kdevgrepview_PART_SRCS kdevgrepview.qrc)
0032 kdevplatform_add_plugin(kdevgrepview SOURCES ${kdevgrepview_PART_SRCS})
0033 
0034 target_link_libraries(kdevgrepview
0035     KF5::Parts
0036     KF5::TextEditor
0037     KF5::Completion
0038     KF5::TextEditor
0039     KDev::Interfaces
0040     KDev::OutputView
0041     KDev::Project
0042     KDev::Util
0043     KDev::Language
0044 )
0045 
0046 ########### install files ###############
0047 
0048 if(BUILD_TESTING)
0049     add_subdirectory(tests)
0050 endif()