Optimize tool app config.
This commit is contained in:
parent
e05527d7ea
commit
5ac4858915
|
@ -19,11 +19,6 @@ CppApplication {
|
||||||
: buildconfig.installLibraryPath)
|
: buildconfig.installLibraryPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
install: true
|
|
||||||
installDir: buildconfig.installAppPath
|
|
||||||
installDebugInformation: true
|
|
||||||
type: base.concat("testSuit")
|
|
||||||
|
|
||||||
Properties {
|
Properties {
|
||||||
condition: qbs.targetOS.contains("unix") && buildconfig.buildWithCcache
|
condition: qbs.targetOS.contains("unix") && buildconfig.buildWithCcache
|
||||||
cpp.compilerWrapper: "ccache"
|
cpp.compilerWrapper: "ccache"
|
||||||
|
|
7
qbs/imports/VToolApp.qbs
Normal file
7
qbs/imports/VToolApp.qbs
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
VApp {
|
||||||
|
version: "0.7.52"
|
||||||
|
type: base.concat("testSuit")
|
||||||
|
install: true
|
||||||
|
installDir: buildconfig.installAppPath
|
||||||
|
installDebugInformation: true
|
||||||
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
import qbs.FileInfo
|
import qbs.FileInfo
|
||||||
|
|
||||||
VApp {
|
VToolApp {
|
||||||
Depends { name: "buildconfig" }
|
Depends { name: "buildconfig" }
|
||||||
Depends { name: "ib"; condition: qbs.targetOS.contains("macos") }
|
Depends { name: "ib"; condition: qbs.targetOS.contains("macos") }
|
||||||
Depends { name: "freedesktop" }
|
Depends { name: "freedesktop" }
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import qbs.FileInfo
|
import qbs.FileInfo
|
||||||
import qbs.File
|
import qbs.File
|
||||||
|
|
||||||
VApp {
|
VToolApp {
|
||||||
Depends { name: "buildconfig" }
|
Depends { name: "buildconfig" }
|
||||||
Depends { name: "ib"; condition: qbs.targetOS.contains("macos") }
|
Depends { name: "ib"; condition: qbs.targetOS.contains("macos") }
|
||||||
Depends { name: "freedesktop" }
|
Depends { name: "freedesktop" }
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import qbs.FileInfo
|
import qbs.FileInfo
|
||||||
import qbs.File
|
import qbs.File
|
||||||
|
|
||||||
VApp {
|
VToolApp {
|
||||||
Depends { name: "buildconfig" }
|
Depends { name: "buildconfig" }
|
||||||
Depends { name: "ib"; condition: qbs.targetOS.contains("macos") }
|
Depends { name: "ib"; condition: qbs.targetOS.contains("macos") }
|
||||||
Depends { name: "freedesktop" }
|
Depends { name: "freedesktop" }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user