valentina/src/test/TranslationsTest/TranslationsTest.qbs

35 lines
1.1 KiB
QML
Raw Normal View History

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"] }
2023-02-13 18:59:07 +01:00
Depends { name: "conan.XercesC"; condition: buildconfig.useConanPackages }
2023-02-16 19:05:37 +01:00
Depends { name: "autotest" }
2023-01-04 20:00:11 +01:00
name: "TranslationsTest"
buildconfig.appTarget: qbs.targetOS.contains("macos") ? "TranslationsTest" : "translationsTest"
targetName: buildconfig.appTarget
2023-02-16 19:05:37 +01:00
autotest.workingDir: product.buildDirectory
2023-01-04 20:00:11 +01:00
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") + '"'
}