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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
add_definitions(-DTRANSLATION_DOMAIN=\"kdevplatform\")
set(KDevPlatformDebugger_LIB_SRCS
interfaces/idebugsession.cpp
interfaces/iframestackmodel.cpp
interfaces/ibreakpointcontroller.cpp
interfaces/ivariablecontroller.cpp
util/treeitem.cpp
util/treemodel.cpp
util/treeview.cpp
util/pathmappings.cpp
breakpoint/breakpoint.cpp
breakpoint/breakpointmodel.cpp
breakpoint/breakpointwidget.cpp
breakpoint/breakpointdetails.cpp
variable/variablewidget.cpp
variable/variablecollection.cpp
variable/variabletooltip.cpp
variable/variablesortmodel.cpp
framestack/framestackmodel.cpp
framestack/framestackwidget.cpp
)
declare_qt_logging_category(KDevPlatformDebugger_LIB_SRCS
TYPE LIBRARY
CATEGORY_BASENAME "debugger"
)
kdevplatform_add_library(KDevPlatformDebugger SOURCES ${KDevPlatformDebugger_LIB_SRCS})
target_link_libraries(KDevPlatformDebugger
PUBLIC
KDev::Interfaces
KDev::Util
PRIVATE
KDev::Sublime
KF5::Notifications
KF5::TextEditor
)
install(FILES
interfaces/idebugsession.h
interfaces/ibreakpointcontroller.h
interfaces/ivariablecontroller.h
interfaces/iframestackmodel.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevplatform/debugger/interfaces COMPONENT Devel
)
install(FILES
util/treemodel.h
util/treeitem.h
util/treeview.h
util/pathmappings.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevplatform/debugger/util COMPONENT Devel
)
install(FILES
breakpoint/breakpointwidget.h
breakpoint/breakpointdetails.h
breakpoint/breakpoint.h
breakpoint/breakpointmodel.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevplatform/debugger/breakpoint COMPONENT Devel
)
install(FILES
variable/variablecollection.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevplatform/debugger/variable COMPONENT Devel
)
install(FILES
framestack/framestackmodel.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevplatform/debugger/framestack COMPONENT Devel
)
if(BUILD_TESTING)
add_subdirectory(tests)
endif()
|