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 (34 lines) | stat: -rw-r--r-- 835 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
add_definitions(-DTRANSLATION_DOMAIN=\"kdevprojectfilter\")
##############################
# PLUGIN #####################
##############################

set( projectfilter_SRCS
    projectfilterprovider.cpp
    projectfilter.cpp
    filter.cpp
    projectfilterconfigpage.cpp
    filter.cpp
    filtermodel.cpp
    comboboxdelegate.cpp
)

declare_qt_logging_category(projectfilter_SRCS
    TYPE PLUGIN
    IDENTIFIER PLUGIN_PROJECTFILTER
    CATEGORY_BASENAME "projectfilter"
)
ki18n_wrap_ui(projectfilter_SRCS projectfiltersettings.ui)
kconfig_add_kcfg_files(projectfilter_SRCS projectfiltersettings.kcfgc)

kdevplatform_add_plugin(KDevProjectFilter SOURCES ${projectfilter_SRCS})

target_link_libraries(KDevProjectFilter
    KDev::Project
    KDev::Util
    KDev::Interfaces
)

if(BUILD_TESTING)
    add_subdirectory(tests)
endif()