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
|
add_definitions(-DTRANSLATION_DOMAIN=\"kdevquickopen\")
if(BUILD_TESTING)
add_subdirectory( tests )
endif()
set(kdevquickopen_PART_SRCS
quickopenplugin.cpp
quickopenmodel.cpp
quickopenwidget.cpp
projectfilequickopen.cpp
duchainitemquickopen.cpp
declarationlistquickopen.cpp
projectitemquickopen.cpp
documentationquickopenprovider.cpp
actionsquickopenprovider.cpp
expandingtree/expandingdelegate.cpp
expandingtree/expandingtree.cpp
expandingtree/expandingwidgetmodel.cpp
)
declare_qt_logging_category(kdevquickopen_PART_SRCS
TYPE PLUGIN
IDENTIFIER PLUGIN_QUICKOPEN
CATEGORY_BASENAME "quickopen"
)
ki18n_wrap_ui(kdevquickopen_PART_SRCS
quickopenwidget.ui
)
qt5_add_resources(kdevquickopen_PART_SRCS kdevquickopen.qrc)
kdevplatform_add_plugin(kdevquickopen JSON kdevquickopen.json SOURCES ${kdevquickopen_PART_SRCS})
target_link_libraries(kdevquickopen
KDev::Language
KDev::Interfaces
KDev::Project
KDev::Util
KF5::GuiAddons
)
|