"Fossies" - the Fresh Open Source Software Archive

Member "qt-creator-opensource-src-4.15.1/tests/auto/debugger/CMakeLists.txt" (8 Jun 2021, 1772 Bytes) of package /linux/misc/qt-creator-opensource-src-4.15.1.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "CMakeLists.txt": opensource-src-4.15.0_vs_opensource-src-4.15.1.

    1 set(DEBUGGERDIR "${PROJECT_SOURCE_DIR}/src/plugins/debugger")
    2 
    3 add_qtc_test(tst_debugger_disassembler
    4   INCLUDES "${DEBUGGERDIR}"
    5   SOURCES
    6     tst_disassembler.cpp
    7     "${DEBUGGERDIR}/disassemblerlines.cpp" "${DEBUGGERDIR}/disassemblerlines.h"
    8 )
    9 
   10 option(WITH_DEBUGGER_DUMPERS "Include tests for debugger pretty printers" ON)
   11 if (WITH_DEBUGGER_DUMPERS)
   12   get_target_property(qmake_binary Qt5::qmake IMPORTED_LOCATION)
   13 
   14   add_qtc_test(tst_debugger_dumpers
   15     TIMEOUT 0
   16     DEPENDS Qt5::Network Utils
   17     DEFINES
   18       DUMPERDIR="${PROJECT_SOURCE_DIR}/share/qtcreator/debugger"
   19       DEFAULT_QMAKE_BINARY="${qmake_binary}"
   20     INCLUDES
   21       "${DEBUGGERDIR}"
   22     SOURCES
   23       "${DEBUGGERDIR}/debuggerprotocol.cpp" "${DEBUGGERDIR}/debuggerprotocol.h"
   24       "${DEBUGGERDIR}/simplifytype.cpp" "${DEBUGGERDIR}/simplifytype.h"
   25       "${DEBUGGERDIR}/watchdata.cpp" "${DEBUGGERDIR}/watchdata.h"
   26       "${DEBUGGERDIR}/watchutils.cpp" "${DEBUGGERDIR}/watchutils.h"
   27       tst_dumpers.cpp
   28   )
   29 endif()
   30 
   31 add_qtc_test(tst_debugger_gdb
   32   DEPENDS Qt5::Network Utils
   33   INCLUDES "${DEBUGGERDIR}"
   34   SOURCES
   35     tst_gdb.cpp
   36     "${DEBUGGERDIR}/debuggerprotocol.cpp" "${DEBUGGERDIR}/debuggerprotocol.h"
   37 )
   38 
   39 add_qtc_test(tst_debugger_protocol
   40   DEPENDS Qt5::Network Utils
   41   INCLUDES
   42     "${DEBUGGERDIR}"
   43   SOURCES
   44     "${DEBUGGERDIR}/debuggerprotocol.cpp" "${DEBUGGERDIR}/debuggerprotocol.h"
   45     tst_protocol.cpp
   46 )
   47 
   48 add_qtc_test(tst_debugger_offsets
   49   DEPENDS Qt5::CorePrivate
   50   INCLUDES "${DEBUGGERDIR}"
   51   SOURCES tst_offsets.cpp
   52 )
   53 
   54 add_qtc_test(tst_debugger_simplifytypes
   55   INCLUDES "${DEBUGGERDIR}"
   56   DEPENDS Utils
   57   DEFINES DUMPERDIR="${PROJECT_SOURCE_DIR}/share/qtcreator/debugger"
   58   SOURCES
   59     tst_simplifytypes.cpp
   60     "${DEBUGGERDIR}/simplifytype.cpp" "${DEBUGGERDIR}/simplifytype.h"
   61 )