Optimize tool app config.

This commit is contained in:
Roman Telezhynskyi 2023-01-10 10:39:50 +02:00
parent e05527d7ea
commit 5ac4858915
5 changed files with 10 additions and 8 deletions

View File

@ -19,11 +19,6 @@ CppApplication {
: buildconfig.installLibraryPath)
}
install: true
installDir: buildconfig.installAppPath
installDebugInformation: true
type: base.concat("testSuit")
Properties {
condition: qbs.targetOS.contains("unix") && buildconfig.buildWithCcache
cpp.compilerWrapper: "ccache"

7
qbs/imports/VToolApp.qbs Normal file
View File

@ -0,0 +1,7 @@
VApp {
version: "0.7.52"
type: base.concat("testSuit")
install: true
installDir: buildconfig.installAppPath
installDebugInformation: true
}

View File

@ -1,6 +1,6 @@
import qbs.FileInfo
VApp {
VToolApp {
Depends { name: "buildconfig" }
Depends { name: "ib"; condition: qbs.targetOS.contains("macos") }
Depends { name: "freedesktop" }

View File

@ -1,7 +1,7 @@
import qbs.FileInfo
import qbs.File
VApp {
VToolApp {
Depends { name: "buildconfig" }
Depends { name: "ib"; condition: qbs.targetOS.contains("macos") }
Depends { name: "freedesktop" }

View File

@ -1,7 +1,7 @@
import qbs.FileInfo
import qbs.File
VApp {
VToolApp {
Depends { name: "buildconfig" }
Depends { name: "ib"; condition: qbs.targetOS.contains("macos") }
Depends { name: "freedesktop" }