2016-12-19 09:09:46 +01:00
|
|
|
import qbs
|
|
|
|
|
import qbs.FileInfo
|
2012-02-09 14:30:09 +01:00
|
|
|
|
|
|
|
|
QtcPlugin {
|
|
|
|
|
name: "Valgrind"
|
|
|
|
|
|
2012-06-19 15:36:27 +08:00
|
|
|
Depends { name: "Qt"; submodules: ["widgets", "network"] }
|
2014-02-10 13:02:33 +01:00
|
|
|
Depends { name: "CPlusPlus"}
|
|
|
|
|
Depends { name: "Utils" }
|
|
|
|
|
|
2012-02-09 14:30:09 +01:00
|
|
|
Depends { name: "Core" }
|
2015-02-10 14:30:57 +02:00
|
|
|
Depends { name: "Debugger" }
|
2012-02-09 14:30:09 +01:00
|
|
|
Depends { name: "ProjectExplorer" }
|
|
|
|
|
Depends { name: "TextEditor" }
|
|
|
|
|
|
2016-05-01 08:36:33 +03:00
|
|
|
cpp.enableExceptions: true
|
|
|
|
|
|
2013-07-30 18:00:27 +02:00
|
|
|
Group {
|
|
|
|
|
name: "General"
|
|
|
|
|
files: [
|
|
|
|
|
"callgrindcostdelegate.cpp", "callgrindcostdelegate.h",
|
|
|
|
|
"callgrindcostview.cpp", "callgrindcostview.h",
|
|
|
|
|
"callgrindengine.cpp", "callgrindengine.h",
|
|
|
|
|
"callgrindhelper.cpp", "callgrindhelper.h",
|
|
|
|
|
"callgrindnamedelegate.cpp", "callgrindnamedelegate.h",
|
|
|
|
|
"callgrindtextmark.cpp", "callgrindtextmark.h",
|
|
|
|
|
"callgrindtool.cpp", "callgrindtool.h",
|
|
|
|
|
"callgrindvisualisation.cpp", "callgrindvisualisation.h",
|
|
|
|
|
"memcheckerrorview.cpp", "memcheckerrorview.h",
|
|
|
|
|
"memchecktool.cpp", "memchecktool.h",
|
|
|
|
|
"suppressiondialog.cpp", "suppressiondialog.h",
|
2017-08-28 16:55:34 +02:00
|
|
|
"valgrind.qrc",
|
2021-02-18 14:18:34 +01:00
|
|
|
"valgrindconfigwidget.cpp", "valgrindconfigwidget.h",
|
2013-07-30 18:00:27 +02:00
|
|
|
"valgrindengine.cpp", "valgrindengine.h",
|
2023-02-09 10:24:34 +01:00
|
|
|
"valgrindplugin.cpp",
|
2013-07-30 18:00:27 +02:00
|
|
|
"valgrindrunner.cpp", "valgrindrunner.h",
|
|
|
|
|
"valgrindsettings.cpp", "valgrindsettings.h",
|
2023-02-08 15:25:56 +01:00
|
|
|
"valgrindtr.h",
|
2013-07-30 18:00:27 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Group {
|
|
|
|
|
name: "Callgrind"
|
|
|
|
|
prefix: "callgrind/"
|
|
|
|
|
files: [
|
|
|
|
|
"callgrindabstractmodel.h",
|
|
|
|
|
"callgrindcallmodel.cpp", "callgrindcallmodel.h",
|
|
|
|
|
"callgrindcostitem.cpp", "callgrindcostitem.h",
|
|
|
|
|
"callgrindcycledetection.cpp", "callgrindcycledetection.h",
|
|
|
|
|
"callgrinddatamodel.cpp", "callgrinddatamodel.h",
|
|
|
|
|
"callgrindfunction.cpp", "callgrindfunction.h", "callgrindfunction_p.h",
|
|
|
|
|
"callgrindfunctioncall.cpp", "callgrindfunctioncall.h",
|
|
|
|
|
"callgrindfunctioncycle.cpp", "callgrindfunctioncycle.h",
|
|
|
|
|
"callgrindparsedata.cpp", "callgrindparsedata.h",
|
|
|
|
|
"callgrindparser.cpp", "callgrindparser.h",
|
|
|
|
|
"callgrindproxymodel.cpp", "callgrindproxymodel.h",
|
|
|
|
|
"callgrindstackbrowser.cpp", "callgrindstackbrowser.h"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Group {
|
|
|
|
|
name: "XML Protocol"
|
|
|
|
|
prefix: "xmlprotocol/"
|
|
|
|
|
files: [
|
|
|
|
|
"announcethread.cpp", "announcethread.h",
|
|
|
|
|
"error.cpp", "error.h",
|
|
|
|
|
"errorlistmodel.cpp", "errorlistmodel.h",
|
|
|
|
|
"frame.cpp", "frame.h",
|
|
|
|
|
"modelhelpers.cpp", "modelhelpers.h",
|
|
|
|
|
"parser.cpp", "parser.h",
|
|
|
|
|
"stack.cpp", "stack.h",
|
|
|
|
|
"stackmodel.cpp", "stackmodel.h",
|
|
|
|
|
"status.cpp", "status.h",
|
|
|
|
|
"suppression.cpp", "suppression.h",
|
|
|
|
|
"threadedparser.cpp", "threadedparser.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-12-06 12:05:05 +01:00
|
|
|
|
2023-03-21 10:01:28 +01:00
|
|
|
QtcTestFiles {
|
2016-12-06 12:05:05 +01:00
|
|
|
files: [
|
|
|
|
|
"valgrindmemcheckparsertest.cpp",
|
|
|
|
|
"valgrindmemcheckparsertest.h",
|
|
|
|
|
"valgrindtestrunnertest.cpp",
|
|
|
|
|
"valgrindtestrunnertest.h",
|
|
|
|
|
]
|
2016-12-19 09:09:46 +01:00
|
|
|
cpp.defines: outer.concat([
|
|
|
|
|
'PARSERTESTS_DATA_DIR="' + FileInfo.joinPaths(path, "unit_testdata") + '"',
|
|
|
|
|
'VALGRIND_FAKE_PATH="' + FileInfo.joinPaths(project.buildDirectory, qtc.ide_bin_path) + '"',
|
|
|
|
|
'TESTRUNNER_SRC_DIR="' + FileInfo.joinPaths(path, "../../../tests/auto/valgrind/memcheck/testapps") + '"',
|
|
|
|
|
'TESTRUNNER_APP_DIR="' + FileInfo.joinPaths(project.buildDirectory, qtc.ide_bin_path, "testapps") + '"'
|
|
|
|
|
])
|
2016-12-06 12:05:05 +01:00
|
|
|
}
|
2012-02-09 14:30:09 +01:00
|
|
|
}
|