summaryrefslogtreecommitdiff
path: root/tests/auto/debugger/dumpers.qbs
blob: af028d2d6f26b351aba81f727de21ceabcb187b6 (plain)
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
import qbs.FileInfo

QtcAutotest {
    name: "Debugger dumpers autotest"
    Depends { name: "Utils" }
    Depends { name: "Qt.network" } // For QHostAddress
    Depends { name: "Qt.widgets" }
    Group {
        name: "Sources from Debugger plugin"
        prefix: project.debuggerDir
        files: [
            "debuggertr.h",
            "debuggerprotocol.h", "debuggerprotocol.cpp",
            "simplifytype.h", "simplifytype.cpp",
            "watchdata.h", "watchdata.cpp",
            "watchutils.h", "watchutils.cpp"
        ]
    }

    Group {
        name: "Test sources"
        files: [
            "tst_dumpers.cpp"
        ]
    }

    cpp.defines: base.concat([
        'CDBEXT_PATH="' + FileInfo.fromNativeSeparators(FileInfo.joinPaths(qbs.installRoot,
                qbs.installPrefix, qtc.libDirName)) + '"',
        'DUMPERDIR="' + path + '/../../../share/qtcreator/debugger"',
        'DEFAULT_QMAKE_BINARY="qmake"'
    ])
    cpp.includePaths: base.concat([project.debuggerDir])
}