Changeset View
Changeset View
Standalone View
Standalone View
debuggers/common/CMakeLists.txt
1 | set(debuggercommon_SRCS | 1 | set(debuggercommon_SRCS | ||
---|---|---|---|---|---|
2 | mi/mi.cpp | 2 | mi/mi.cpp | ||
3 | mi/milexer.cpp | 3 | mi/milexer.cpp | ||
4 | mi/miparser.cpp | 4 | mi/miparser.cpp | ||
5 | mi/micommand.cpp | 5 | mi/micommand.cpp | ||
6 | mi/micommandqueue.cpp | 6 | mi/micommandqueue.cpp | ||
7 | dialogs/selectcoredialog.cpp | ||||
7 | debuglog.cpp | 8 | debuglog.cpp | ||
9 | # debug session & debugger | ||||
8 | midebugger.cpp | 10 | midebugger.cpp | ||
9 | midebugsession.cpp | 11 | midebugsession.cpp | ||
12 | midebuggerplugin.cpp | ||||
13 | midebugjobs.cpp | ||||
14 | # controllers | ||||
10 | mibreakpointcontroller.cpp | 15 | mibreakpointcontroller.cpp | ||
11 | miframestackmodel.cpp | 16 | miframestackmodel.cpp | ||
12 | mivariablecontroller.cpp | 17 | mivariablecontroller.cpp | ||
13 | mivariable.cpp | 18 | mivariable.cpp | ||
14 | stringhelpers.cpp | 19 | stringhelpers.cpp | ||
15 | stty.cpp | 20 | stty.cpp | ||
16 | ) | 21 | ) | ||
17 | #ki18n_wrap_ui(debuggercommon_SRCS something.ui) | 22 | | ||
23 | find_package(KF5SysGuard) | ||||
24 | if(KF5SysGuard_FOUND) | ||||
25 | add_definitions(-DKDEV_ENABLE_DBG_ATTACH_DIALOG) | ||||
26 | set(debuggercommon_SRCS | ||||
27 | ${debuggercommon_SRCS} | ||||
28 | dialogs/processselection.cpp | ||||
29 | ) | ||||
30 | endif() | ||||
31 | | ||||
32 | ki18n_wrap_ui(debuggercommon_SRCS | ||||
33 | dialogs/selectcoredialog.ui | ||||
34 | ) | ||||
18 | 35 | | |||
19 | add_library(kdevdebuggercommon STATIC ${debuggercommon_SRCS}) | 36 | add_library(kdevdebuggercommon STATIC ${debuggercommon_SRCS}) | ||
20 | target_link_libraries(kdevdebuggercommon | 37 | target_link_libraries(kdevdebuggercommon | ||
21 | PUBLIC | 38 | PUBLIC | ||
22 | KDev::Debugger | 39 | KDev::Debugger | ||
23 | PRIVATE | 40 | PRIVATE | ||
24 | Qt5::Core | 41 | Qt5::Core | ||
42 | Qt5::Gui | ||||
25 | KDev::Util | 43 | KDev::Util | ||
26 | ) | 44 | ) | ||
45 | if(KF5SysGuard_FOUND) | ||||
46 | target_link_libraries(kdevdebuggercommon | ||||
47 | PUBLIC | ||||
48 | KF5::ProcessUi | ||||
49 | ) | ||||
50 | endif() | ||||
27 | 51 | | |||
28 | kde_target_enable_exceptions(kdevdebuggercommon PUBLIC) | 52 | kde_target_enable_exceptions(kdevdebuggercommon PUBLIC) |