dumpers.pro 1 KB
Newer Older
hjk's avatar
hjk committed
1

2
3
QTC_LIB_DEPENDS += utils
QT = core network
hjk's avatar
hjk committed
4

Bill King's avatar
Bill King committed
5
include(../qttest.pri)
6

Bill King's avatar
Bill King committed
7
DEBUGGERDIR = $$IDE_SOURCE_TREE/src/plugins/debugger
8
DUMPERDIR   = $$IDE_SOURCE_TREE/share/qtcreator/debugger
9

10
11
12
13
14
include($$IDE_SOURCE_TREE/src/rpath.pri)

LIBS += -L$$IDE_PLUGIN_PATH/QtProject
DEFINES += Q_PLUGIN_PATH=\"\\\"$$IDE_PLUGIN_PATH/QtProject\\\"\"

15
16
17
18
19
20
21
22
23
win32 {
    CDBEXT_PATH = $$IDE_BUILD_TREE\\$$IDE_LIBRARY_BASENAME
    # replace '\' with '\\'
    DEFINES += CDBEXT_PATH=\"\\\"$$replace(CDBEXT_PATH, \\\\, \\\\)\\\"\"
} else {
    # empty string
    DEFINES += CDBEXT_PATH=\"\\\"\\\"\"
}

24
SOURCES += \
25
    $$DEBUGGERDIR/debuggerprotocol.cpp \
26
27
    $$DEBUGGERDIR/watchdata.cpp \
    $$DEBUGGERDIR/watchutils.cpp \
28
29
    tst_dumpers.cpp

30
31
32
33
HEADERS += \
    $$DEBUGGERDIR/debuggerprotocol.h \
    $$DEBUGGERDIR/watchdata.h \
    $$DEBUGGERDIR/watchutils.h \
34
    temporarydir.h
35

hjk's avatar
hjk committed
36
37
38
39
40
!isEmpty(vcproj) {
    DEFINES += DUMPERDIR=\"$$DUMPERDIR\"
} else {
    DEFINES += DUMPERDIR=\\\"$$DUMPERDIR\\\"
}
Bill King's avatar
Bill King committed
41

hjk's avatar
hjk committed
42
43
INCLUDEPATH += $$DEBUGGERDIR
DEFINES += QT_NO_CAST_FROM_ASCII