File: CMakeLists.txt

package info (click to toggle)
kdevelop 4%3A24.12.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 71,888 kB
  • sloc: cpp: 290,869; python: 3,626; javascript: 3,518; sh: 1,316; ansic: 703; xml: 401; php: 95; lisp: 66; makefile: 31; sed: 12
file content (53 lines) | stat: -rw-r--r-- 1,117 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
add_definitions(-DTRANSLATION_DOMAIN=\"kdevgrepview\")

########### next target ###############

declare_qt_logging_category(kdevgrepview_LOG_PART_SRCS
    TYPE PLUGIN
    IDENTIFIER PLUGIN_GREPVIEW
    CATEGORY_BASENAME "grepview"
)

set(kdevgrepview_PART_SRCS
    grepviewplugin.cpp
    grepviewpluginmetadata.cpp
    grepdialog.cpp
    grepoutputmodel.cpp
    grepoutputdelegate.cpp
    grepjob.cpp
    grepfindthread.cpp
    grepoutputview.cpp
    greputil.cpp
    ${kdevgrepview_LOG_PART_SRCS}
)

set(kdevgrepview_PART_UI
    grepwidget.ui
    grepoutputview.ui
)

ki18n_wrap_ui(kdevgrepview_PART_SRCS ${kdevgrepview_PART_UI})

qt_add_resources(kdevgrepview_PART_SRCS kdevgrepview.qrc)
kdevplatform_add_plugin(kdevgrepview SOURCES ${kdevgrepview_PART_SRCS})

target_link_libraries(kdevgrepview
    KF6::Parts
    KF6::TextEditor
    KF6::Completion
    KF6::TextEditor
    KF6::Codecs
    KF6::KIOWidgets
    KDev::Interfaces
    KDev::OutputView
    KDev::Project
    KDev::Util
    KDev::Language
    Qt::DBus
)

########### install files ###############

if(BUILD_TESTING)
    add_subdirectory(tests)
endif()