blob: 7a727e6603ab30925fec768445c16008b20c13ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
import qbs
import qbs.FileInfo
import qbs.Utilities
QtApplication {
type: ["application", "autotest"]
consoleApplication: true
property string testName
name: "tst_" + testName
Depends { name: "Qt.testlib" }
Depends { name: "qbscore" }
Depends { name: "qbsbuildconfig" }
cpp.defines: [
"QBS_TEST_SUITE_NAME=" + Utilities.cStringQuote(testName.toUpperCase().replace("-", "_"))
]
cpp.includePaths: [
"../../../src",
"../../../src/app/shared", // for the logger
]
cpp.cxxLanguageVersion: "c++11"
destinationDirectory: "bin"
Group {
name: "logging"
prefix: FileInfo.joinPaths(product.sourceDirectory, "../../../src/app/shared/logging") + '/'
files: [
"coloredoutput.cpp",
"coloredoutput.h",
"consolelogger.cpp",
"consolelogger.h"
]
}
}
|