forked from qt-creator/qt-creator
- Remove dependency on project.withAutotests by adding local
{Qt,Cpp}Application overrides that alias QtcManualTest. This way, the
respective products are a QtcManualTest when inside Qt Creator, while
also working outside the source tree.
- Rename QtcManualtest to QtcManualTest. (The reason QtcAutotest is not
camel-cased is because "autotest" is a single word.)
- Plus some minor clean-ups.
Change-Id: Idd77191f0b433d6d7443c639eebda383ab110082
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
56 lines
1.4 KiB
QML
56 lines
1.4 KiB
QML
QtcManualTest {
|
|
name: "Manual ProParser test"
|
|
Depends { name: "Qt.core" }
|
|
|
|
cpp.includePaths: base.concat(["../../../src/shared/proparser/",
|
|
"../../../src/libs/"])
|
|
|
|
cpp.defines: ["QMAKE_BUILTIN_PRFS",
|
|
"QT_NO_CAST_TO_ASCII",
|
|
"QT_RESTRICTED_CAST_FROM_ASCII",
|
|
"QT_USE_QSTRINGBUILDER",
|
|
"PROEVALUATOR_FULL",
|
|
"PROEVALUATOR_CUMULATIVE",
|
|
"PROEVALUATOR_INIT_PROPS"]
|
|
|
|
Properties {
|
|
condition: qbs.targetOS.contains("windows")
|
|
cpp.dynamicLibraries: "advapi32"
|
|
}
|
|
|
|
files: "main.cpp"
|
|
|
|
Group {
|
|
name: "ProParser files"
|
|
prefix: "../../../src/shared/proparser/"
|
|
|
|
files: [
|
|
"ioutils.cpp",
|
|
"ioutils.h",
|
|
"profileevaluator.cpp",
|
|
"profileevaluator.h",
|
|
"proitems.cpp",
|
|
"proitems.h",
|
|
"proparser.qrc",
|
|
"qmake_global.h",
|
|
"qmakebuiltins.cpp",
|
|
"qmakeevaluator.cpp",
|
|
"qmakeevaluator.h",
|
|
"qmakeevaluator_p.h",
|
|
"qmakeglobals.cpp",
|
|
"qmakeglobals.h",
|
|
"qmakeparser.cpp",
|
|
"qmakeparser.h",
|
|
"qmakevfs.cpp",
|
|
"qmakevfs.h",
|
|
"registry.cpp",
|
|
"registry_p.h",
|
|
]
|
|
}
|
|
|
|
Group {
|
|
name: "Porting Helper"
|
|
prefix: "../../../src/libs/utils/"
|
|
}
|
|
}
|