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()
|