Property to control building unit tests.
This commit is contained in:
parent
2ba1a5db5e
commit
11642ebfe1
|
@ -9,6 +9,9 @@ Module {
|
|||
property bool enableUbSanitizer: false
|
||||
property bool enableThreadSanitizer: false
|
||||
|
||||
// Use this property to disable building unit tests.
|
||||
property bool enableUnitTests: true
|
||||
|
||||
property string libDirName: "lib"
|
||||
|
||||
property string appTarget
|
||||
|
|
|
@ -12,6 +12,7 @@ VApp {
|
|||
type: base.concat("autotest", "tst_files")
|
||||
bundle.isBundle: false
|
||||
install: false
|
||||
condition: buildconfig.enableUnitTests
|
||||
|
||||
files: [
|
||||
"qttestmainlambda.cpp",
|
||||
|
|
|
@ -9,6 +9,7 @@ VApp {
|
|||
consoleApplication: true
|
||||
bundle.isBundle: false
|
||||
install: false
|
||||
condition: buildconfig.enableUnitTests
|
||||
|
||||
files: [
|
||||
"main.cpp"
|
||||
|
|
|
@ -11,6 +11,7 @@ VApp {
|
|||
type: base.concat("autotest")
|
||||
bundle.isBundle: false
|
||||
install: false
|
||||
condition: buildconfig.enableUnitTests
|
||||
|
||||
files: [
|
||||
"qttestmainlambda.cpp",
|
||||
|
|
|
@ -14,6 +14,7 @@ VApp {
|
|||
type: base.concat("autotest")
|
||||
bundle.isBundle: false
|
||||
install: false
|
||||
condition: buildconfig.enableUnitTests
|
||||
|
||||
files: [
|
||||
"qttestmainlambda.cpp",
|
||||
|
|
Loading…
Reference in New Issue
Block a user