2023-01-04 20:00:11 +01:00
|
|
|
import qbs.FileInfo
|
|
|
|
|
2023-01-10 09:02:30 +01:00
|
|
|
VTestApp {
|
2023-01-04 20:00:11 +01:00
|
|
|
Depends { name: "buildconfig" }
|
|
|
|
Depends { name: "VTestLib" }
|
|
|
|
Depends { name: "Qt"; submodules: ["testlib", "xml", "gui", "printsupport"] }
|
|
|
|
|
|
|
|
name: "TranslationsTest"
|
|
|
|
buildconfig.appTarget: qbs.targetOS.contains("macos") ? "TranslationsTest" : "translationsTest"
|
|
|
|
targetName: buildconfig.appTarget
|
|
|
|
|
|
|
|
files: [
|
|
|
|
"qttestmainlambda.cpp",
|
|
|
|
"tst_measurementregexp.cpp",
|
|
|
|
"tst_qmuparsererrormsg.cpp",
|
|
|
|
"tst_tstranslation.cpp",
|
|
|
|
"tst_buitinregexp.cpp",
|
|
|
|
"tst_abstractregexp.cpp",
|
|
|
|
"tst_tslocaletranslation.cpp",
|
|
|
|
"tst_abstracttranslation.cpp",
|
|
|
|
"tst_measurementregexp.h",
|
|
|
|
"tst_qmuparsererrormsg.h",
|
|
|
|
"tst_tstranslation.h",
|
|
|
|
"tst_buitinregexp.h",
|
|
|
|
"tst_abstractregexp.h",
|
|
|
|
"tst_tslocaletranslation.h",
|
|
|
|
"tst_abstracttranslation.h",
|
|
|
|
]
|
|
|
|
|
|
|
|
cpp.defines: 'TS_DIR="' + FileInfo.joinPaths(project.sourceDirectory, "share", "translations") + '"'
|
|
|
|
}
|