2014-03-11 11:30:14 +01:00
|
|
|
import qbs 1.0
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Project {
|
2012-02-09 14:30:09 +01:00
|
|
|
name: "Debugger"
|
|
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
QtcDevHeaders { }
|
2014-02-10 13:02:33 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
QtcPlugin {
|
|
|
|
|
Depends { name: "Qt"; submodules: ["widgets", "network"] }
|
|
|
|
|
Depends { name: "Aggregation" }
|
|
|
|
|
Depends { name: "CPlusPlus" }
|
|
|
|
|
Depends { name: "QtcSsh" }
|
|
|
|
|
Depends { name: "QmlDebug" }
|
|
|
|
|
Depends { name: "LanguageUtils" }
|
|
|
|
|
Depends { name: "QmlJS" }
|
|
|
|
|
Depends { name: "Utils" }
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Depends { name: "Core" }
|
|
|
|
|
Depends { name: "CppTools" }
|
|
|
|
|
Depends { name: "ProjectExplorer" }
|
|
|
|
|
Depends { name: "QtSupport" }
|
|
|
|
|
Depends { name: "TextEditor" }
|
2016-03-09 19:16:14 +01:00
|
|
|
|
|
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Depends {
|
|
|
|
|
name: "Qt.test"
|
|
|
|
|
condition: qtc.testsEnabled
|
|
|
|
|
}
|
2016-03-09 19:16:14 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
pluginTestDepends: [
|
|
|
|
|
"QmakeProjectManager"
|
|
|
|
|
]
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
cpp.includePaths: base.concat([project.sharedSourcesDir + "/registryaccess"])
|
|
|
|
|
cpp.enableExceptions: true
|
2013-03-26 16:58:50 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
pluginRecommends: [
|
|
|
|
|
"CppEditor"
|
2013-07-30 18:00:27 +02:00
|
|
|
]
|
|
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "General"
|
|
|
|
|
files: [
|
|
|
|
|
"breakhandler.cpp", "breakhandler.h",
|
|
|
|
|
"breakpoint.cpp", "breakpoint.h",
|
|
|
|
|
"commonoptionspage.cpp", "commonoptionspage.h",
|
|
|
|
|
"debugger.qrc",
|
|
|
|
|
"debugger_global.h",
|
|
|
|
|
"debuggeractions.cpp", "debuggeractions.h",
|
|
|
|
|
"debuggerconstants.h",
|
2016-06-27 14:38:36 +02:00
|
|
|
"debuggericons.h", "debuggericons.cpp",
|
2016-06-08 17:10:04 +02:00
|
|
|
"debuggercore.h",
|
|
|
|
|
"debuggerdialogs.cpp", "debuggerdialogs.h",
|
|
|
|
|
"debuggerengine.cpp", "debuggerengine.h",
|
|
|
|
|
"debuggerinternalconstants.h",
|
|
|
|
|
"debuggeritem.cpp", "debuggeritem.h",
|
|
|
|
|
"debuggeritemmanager.cpp", "debuggeritemmanager.h",
|
|
|
|
|
"debuggerkitconfigwidget.cpp", "debuggerkitconfigwidget.h",
|
|
|
|
|
"debuggerkitinformation.cpp", "debuggerkitinformation.h",
|
|
|
|
|
"debuggermainwindow.cpp", "debuggermainwindow.h",
|
|
|
|
|
"debuggeroptionspage.cpp", "debuggeroptionspage.h",
|
|
|
|
|
"debuggerplugin.cpp", "debuggerplugin.h",
|
|
|
|
|
"debuggerprotocol.cpp", "debuggerprotocol.h",
|
|
|
|
|
"debuggerrunconfigurationaspect.cpp", "debuggerrunconfigurationaspect.h",
|
|
|
|
|
"debuggerruncontrol.cpp", "debuggerruncontrol.h",
|
|
|
|
|
"debuggersourcepathmappingwidget.cpp", "debuggersourcepathmappingwidget.h",
|
|
|
|
|
"debuggerstartparameters.h",
|
|
|
|
|
"debuggertooltipmanager.cpp", "debuggertooltipmanager.h",
|
|
|
|
|
"disassembleragent.cpp", "disassembleragent.h",
|
|
|
|
|
"disassemblerlines.cpp", "disassemblerlines.h",
|
|
|
|
|
"imageviewer.cpp", "imageviewer.h",
|
|
|
|
|
"loadcoredialog.cpp", "loadcoredialog.h",
|
|
|
|
|
"localsandexpressionswindow.cpp", "localsandexpressionswindow.h",
|
|
|
|
|
"logwindow.cpp", "logwindow.h",
|
|
|
|
|
"memoryagent.cpp", "memoryagent.h",
|
|
|
|
|
"memoryview.cpp", "memoryview.h",
|
|
|
|
|
"moduleshandler.cpp", "moduleshandler.h",
|
|
|
|
|
"outputcollector.cpp", "outputcollector.h",
|
|
|
|
|
"procinterrupt.cpp", "procinterrupt.h",
|
|
|
|
|
"registerhandler.cpp", "registerhandler.h",
|
|
|
|
|
"snapshothandler.cpp", "snapshothandler.h",
|
|
|
|
|
"snapshotwindow.cpp", "snapshotwindow.h",
|
|
|
|
|
"sourceagent.cpp", "sourceagent.h",
|
|
|
|
|
"sourcefileshandler.cpp", "sourcefileshandler.h",
|
|
|
|
|
"sourceutils.cpp", "sourceutils.h",
|
|
|
|
|
"stackframe.cpp", "stackframe.h",
|
|
|
|
|
"stackhandler.cpp", "stackhandler.h",
|
|
|
|
|
"stackwindow.cpp", "stackwindow.h",
|
|
|
|
|
"terminal.cpp", "terminal.h",
|
|
|
|
|
"threaddata.h",
|
|
|
|
|
"threadshandler.cpp", "threadshandler.h",
|
|
|
|
|
"watchdata.cpp", "watchdata.h",
|
|
|
|
|
"watchdelegatewidgets.cpp", "watchdelegatewidgets.h",
|
|
|
|
|
"watchhandler.cpp", "watchhandler.h",
|
|
|
|
|
"watchutils.cpp", "watchutils.h",
|
|
|
|
|
"watchwindow.cpp", "watchwindow.h",
|
|
|
|
|
"simplifytype.cpp", "simplifytype.h",
|
|
|
|
|
"unstartedappwatcherdialog.cpp", "unstartedappwatcherdialog.h"
|
|
|
|
|
]
|
|
|
|
|
}
|
2013-07-30 18:00:27 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "cdb"
|
|
|
|
|
prefix: "cdb/"
|
|
|
|
|
files: [
|
|
|
|
|
"cdbengine.cpp", "cdbengine.h",
|
|
|
|
|
"cdboptionspage.cpp", "cdboptionspage.h",
|
|
|
|
|
"cdboptionspagewidget.ui",
|
|
|
|
|
"cdbparsehelpers.cpp", "cdbparsehelpers.h",
|
|
|
|
|
"stringinputstream.cpp", "stringinputstream.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2013-07-30 18:00:27 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "gdb"
|
|
|
|
|
prefix: "gdb/"
|
|
|
|
|
files: [
|
|
|
|
|
"attachgdbadapter.cpp", "attachgdbadapter.h",
|
|
|
|
|
"coregdbadapter.cpp", "coregdbadapter.h",
|
|
|
|
|
"gdbengine.cpp", "gdbengine.h",
|
|
|
|
|
"gdboptionspage.cpp",
|
|
|
|
|
"gdbplainengine.cpp", "gdbplainengine.h",
|
|
|
|
|
"remotegdbserveradapter.cpp", "remotegdbserveradapter.h",
|
|
|
|
|
"startgdbserverdialog.cpp", "startgdbserverdialog.h",
|
|
|
|
|
"termgdbadapter.cpp", "termgdbadapter.h"
|
|
|
|
|
]
|
|
|
|
|
}
|
2013-07-30 18:00:27 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "lldb"
|
|
|
|
|
prefix: "lldb/"
|
|
|
|
|
files: [
|
|
|
|
|
"lldbengine.cpp", "lldbengine.h"
|
|
|
|
|
]
|
|
|
|
|
}
|
2013-07-30 18:00:27 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "pdb"
|
|
|
|
|
prefix: "pdb/"
|
|
|
|
|
files: ["pdbengine.cpp", "pdbengine.h"]
|
|
|
|
|
}
|
2013-07-30 18:00:27 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Name Demangler"
|
|
|
|
|
prefix: "namedemangler/"
|
|
|
|
|
files: [
|
|
|
|
|
"demanglerexceptions.h",
|
|
|
|
|
"globalparsestate.cpp", "globalparsestate.h",
|
|
|
|
|
"namedemangler.cpp", "namedemangler.h",
|
|
|
|
|
"parsetreenodes.cpp", "parsetreenodes.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2013-07-30 18:00:27 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "QML Debugger"
|
|
|
|
|
prefix: "qml/"
|
|
|
|
|
files: [
|
|
|
|
|
"interactiveinterpreter.cpp", "interactiveinterpreter.h",
|
|
|
|
|
"qmlcppengine.cpp", "qmlcppengine.h",
|
|
|
|
|
"qmlengine.cpp", "qmlengine.h",
|
|
|
|
|
"qmlengineutils.cpp", "qmlengineutils.h",
|
|
|
|
|
"qmlinspectoragent.cpp", "qmlinspectoragent.h",
|
|
|
|
|
"qmlv8debuggerclientconstants.h"
|
|
|
|
|
]
|
|
|
|
|
}
|
2015-11-10 16:59:02 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Debugger Console"
|
|
|
|
|
prefix: "console/"
|
|
|
|
|
files: [
|
|
|
|
|
"consoleitem.cpp", "consoleitem.h",
|
|
|
|
|
"consoleedit.cpp", "consoleedit.h",
|
|
|
|
|
"consoleitemdelegate.cpp", "consoleitemdelegate.h",
|
|
|
|
|
"consoleitemmodel.cpp", "consoleitemmodel.h",
|
|
|
|
|
"console.cpp", "console.h",
|
|
|
|
|
"consoleproxymodel.cpp", "consoleproxymodel.h",
|
|
|
|
|
"consoleview.cpp", "consoleview.h"
|
|
|
|
|
]
|
|
|
|
|
}
|
2013-07-30 18:00:27 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "shared"
|
|
|
|
|
prefix: "shared/"
|
|
|
|
|
files: [
|
|
|
|
|
"backtrace.cpp", "backtrace.h",
|
|
|
|
|
"cdbsymbolpathlisteditor.cpp",
|
|
|
|
|
"cdbsymbolpathlisteditor.h",
|
|
|
|
|
"hostutils.cpp", "hostutils.h",
|
|
|
|
|
"peutils.cpp", "peutils.h",
|
|
|
|
|
"symbolpathsdialog.ui", "symbolpathsdialog.cpp", "symbolpathsdialog.h"
|
|
|
|
|
]
|
|
|
|
|
}
|
2015-10-19 12:55:13 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Images"
|
|
|
|
|
prefix: "images/"
|
|
|
|
|
files: ["*.png", "*.xpm"]
|
|
|
|
|
}
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Images/qml"
|
|
|
|
|
prefix: "images/qml/"
|
|
|
|
|
files: ["*.png"]
|
|
|
|
|
}
|
2016-02-24 14:42:52 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Images/analyzer"
|
|
|
|
|
prefix: "analyzer/images/"
|
|
|
|
|
files: ["*.png"]
|
|
|
|
|
}
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "RegistryAccess"
|
|
|
|
|
condition: qbs.targetOS.contains("windows")
|
|
|
|
|
prefix: project.sharedSourcesDir + "/registryaccess/"
|
|
|
|
|
files: [
|
|
|
|
|
"registryaccess.cpp",
|
|
|
|
|
"registryaccess.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "RegisterPostMortem"
|
|
|
|
|
condition: qbs.targetOS.contains("windows")
|
|
|
|
|
files: [
|
|
|
|
|
"registerpostmortemaction.cpp",
|
|
|
|
|
"registerpostmortemaction.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2012-03-21 19:35:34 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Properties {
|
|
|
|
|
condition: qbs.targetOS.contains("windows")
|
|
|
|
|
cpp.dynamicLibraries: [
|
|
|
|
|
"advapi32",
|
|
|
|
|
"ole32",
|
|
|
|
|
"shell32"
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-02-24 14:42:52 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Analyzer"
|
|
|
|
|
prefix: "analyzer/"
|
|
|
|
|
files: [
|
|
|
|
|
"analyzerbase.qrc",
|
|
|
|
|
"analyzerconstants.h",
|
|
|
|
|
"analyzermanager.h",
|
|
|
|
|
"analyzerrunconfigwidget.cpp",
|
|
|
|
|
"analyzerrunconfigwidget.h",
|
|
|
|
|
"analyzerruncontrol.cpp",
|
|
|
|
|
"analyzerruncontrol.h",
|
|
|
|
|
"analyzerstartparameters.h",
|
|
|
|
|
"analyzerutils.cpp",
|
|
|
|
|
"analyzerutils.h",
|
|
|
|
|
"detailederrorview.cpp",
|
|
|
|
|
"detailederrorview.h",
|
|
|
|
|
"diagnosticlocation.cpp",
|
|
|
|
|
"diagnosticlocation.h",
|
|
|
|
|
"startremotedialog.cpp",
|
|
|
|
|
"startremotedialog.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-03-09 19:16:14 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Unit tests"
|
|
|
|
|
condition: qtc.testsEnabled
|
|
|
|
|
files: [
|
|
|
|
|
"debuggerunittests.qrc",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-03-09 19:16:14 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Unit test resources"
|
|
|
|
|
prefix: "unit-tests/"
|
|
|
|
|
fileTags: []
|
|
|
|
|
files: ["**/*"]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Export {
|
|
|
|
|
Depends { name: "QtcSsh" }
|
|
|
|
|
Depends { name: "CPlusPlus" }
|
|
|
|
|
}
|
2012-02-09 14:30:09 +01:00
|
|
|
}
|
|
|
|
|
}
|