Move 'Precompiled headers' group to buildconfig.
This commit is contained in:
parent
af647e6386
commit
895b02ef0d
|
@ -792,4 +792,17 @@ Module {
|
|||
}
|
||||
|
||||
vcs2.headerFileName: "vcsRepoState.h"
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
prefix: FileInfo.joinPaths(product.sourceDirectory, FileInfo.pathSeparator())
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -159,18 +159,6 @@ VApp {
|
|||
]
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.targetOS.contains("windows"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
cpp.includePaths: [product.sourceDirectory]
|
||||
|
||||
Export {
|
||||
|
|
|
@ -84,18 +84,6 @@ VApp {
|
|||
]
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Export {
|
||||
Depends { name: "cpp" }
|
||||
cpp.defines: {
|
||||
|
|
|
@ -164,18 +164,6 @@ VApp {
|
|||
qbs.installDir: "share/pixmaps"
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Export {
|
||||
Depends { name: "cpp" }
|
||||
cpp.defines: {
|
||||
|
|
|
@ -13,18 +13,6 @@ VLib {
|
|||
"fvupdatewindow.ui",
|
||||
]
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Export {
|
||||
Depends { name: "cpp" }
|
||||
Depends { name: "Qt"; submodules: ["network"] }
|
||||
|
|
|
@ -70,18 +70,6 @@ VLib {
|
|||
]
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Resources"
|
||||
files: [
|
||||
|
|
|
@ -36,18 +36,6 @@ VLib {
|
|||
|
||||
buildconfig.staticBuild: false
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Export {
|
||||
Depends { name: "cpp" }
|
||||
cpp.includePaths: [exportingProduct.sourceDirectory]
|
||||
|
|
|
@ -45,18 +45,6 @@ VLib {
|
|||
]
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Export {
|
||||
Depends { name: "cpp" }
|
||||
cpp.includePaths: [exportingProduct.sourceDirectory]
|
||||
|
|
|
@ -16,18 +16,6 @@ VLib {
|
|||
"vwatermark.h",
|
||||
]
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Export {
|
||||
Depends { name: "cpp" }
|
||||
Depends { name: "Qt"; submodules: ["xml"] }
|
||||
|
|
|
@ -53,18 +53,6 @@ VLib {
|
|||
"vplacelabelitem_p.h"
|
||||
]
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Export {
|
||||
Depends { name: "cpp" }
|
||||
Depends { name: "Qt"; submodules: ["gui"] }
|
||||
|
|
|
@ -72,18 +72,6 @@ VLib {
|
|||
]
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Resources"
|
||||
prefix: "share/"
|
||||
|
|
|
@ -118,18 +118,6 @@ VLib {
|
|||
]
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Resources"
|
||||
prefix: "share/resources/"
|
||||
|
|
|
@ -12,18 +12,6 @@ VLib {
|
|||
"vobjpaintdevice.h",
|
||||
]
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Export {
|
||||
Depends { name: "cpp" }
|
||||
cpp.includePaths: [exportingProduct.sourceDirectory]
|
||||
|
|
|
@ -98,18 +98,6 @@ VLib {
|
|||
]
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Export {
|
||||
Depends { name: "cpp" }
|
||||
cpp.includePaths: [exportingProduct.sourceDirectory]
|
||||
|
|
|
@ -88,18 +88,6 @@ VLib {
|
|||
]
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Export {
|
||||
Depends { name: "cpp" }
|
||||
cpp.includePaths: [exportingProduct.sourceDirectory]
|
||||
|
|
|
@ -13,18 +13,6 @@ VLib {
|
|||
"abstracttest.h",
|
||||
]
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Export {
|
||||
Depends { name: "cpp" }
|
||||
cpp.includePaths: [exportingProduct.sourceDirectory]
|
||||
|
|
|
@ -468,18 +468,6 @@ VLib {
|
|||
]
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Export {
|
||||
Depends { name: "cpp" }
|
||||
cpp.includePaths: [exportingProduct.sourceDirectory]
|
||||
|
|
|
@ -61,18 +61,6 @@ VLib {
|
|||
"vhighlighter.h"
|
||||
]
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Export {
|
||||
Depends { name: "cpp" }
|
||||
cpp.includePaths: [exportingProduct.sourceDirectory]
|
||||
|
|
|
@ -22,18 +22,6 @@ VApp {
|
|||
"tst_valentinacommandline.h",
|
||||
]
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "Tape test files"
|
||||
prefix: "tst_tape" + FileInfo.pathSeparator()
|
||||
|
|
|
@ -14,16 +14,4 @@ VApp {
|
|||
files: [
|
||||
"main.cpp"
|
||||
]
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,17 +31,5 @@ VApp {
|
|||
"tst_abstracttranslation.h",
|
||||
]
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
|
||||
cpp.defines: 'TS_DIR="' + FileInfo.joinPaths(project.sourceDirectory, "share", "translations") + '"'
|
||||
}
|
||||
|
|
|
@ -67,16 +67,4 @@ VApp {
|
|||
"tst_vabstractpiece.h",
|
||||
"tst_vtooluniondetails.h",
|
||||
]
|
||||
|
||||
Group {
|
||||
name: "Precompiled headers"
|
||||
condition: buildconfig.enablePCH
|
||||
files: {
|
||||
var files = ["stable.h"];
|
||||
if (qbs.toolchain.contains("msvc"))
|
||||
files.push("stable.cpp")
|
||||
return files;
|
||||
}
|
||||
fileTags: ["cpp_pch_src"]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user