Changeset View
Changeset View
Standalone View
Standalone View
plugins/debuggercommon/tests/CMakeLists.txt
1 | get_filename_component(GDB_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../gdb ABSOLUTE) | 1 | get_filename_component(GDB_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../gdb ABSOLUTE) | ||
---|---|---|---|---|---|
2 | get_filename_component(LLDB_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../lldb ABSOLUTE) | 2 | get_filename_component(LLDB_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../lldb ABSOLUTE) | ||
3 | configure_file(debuggers-tests-config.h.in debuggers-tests-config.h) | 3 | configure_file(debuggers-tests-config.h.in debuggers-tests-config.h) | ||
4 | 4 | | |||
5 | add_subdirectory(debuggees) | 5 | add_subdirectory(debuggees) | ||
6 | 6 | | |||
7 | add_library(kdevdbg_testhelper STATIC testhelper.cpp) | 7 | add_library(kdevdbg_testhelper STATIC testhelper.cpp) | ||
8 | target_link_libraries(kdevdbg_testhelper | 8 | target_link_libraries(kdevdbg_testhelper | ||
9 | PUBLIC | 9 | PUBLIC | ||
10 | kdevdebuggercommon | 10 | kdevdebuggercommon | ||
11 | KDev::Debugger | 11 | KDev::Debugger | ||
12 | Qt5::Core | 12 | Qt5::Core | ||
13 | PRIVATE | 13 | PRIVATE | ||
14 | Qt5::Test | 14 | Qt5::Test | ||
15 | ) | 15 | ) | ||
16 | | ||||
17 | ecm_add_test(test_miparser | ||||
18 | LINK_LIBRARIES Qt5::Test kdevdbg_testhelper | ||||
19 | ) | ||||
20 | | ||||
21 | ecm_add_test(test_micommand | ||||
22 | LINK_LIBRARIES Qt5::Test kdevdbg_testhelper | ||||
23 | ) | ||||
24 | | ||||
25 | ecm_add_test(test_micommandqueue | ||||
26 | LINK_LIBRARIES Qt5::Test kdevdbg_testhelper | ||||
27 | ) |