forked from qt-creator/qt-creator
Avoid the need to always specify this value by an environment variable. Change-Id: I2f08b5f15c9dc818826305fbd1d96e52ebdc89bf Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
35 lines
1007 B
QML
35 lines
1007 B
QML
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])
|
|
}
|