Property to disable the use of precompiled headers.
This commit is contained in:
parent
78fb2c246b
commit
d6e3dfcbb3
|
@ -16,6 +16,10 @@ Module {
|
||||||
// do not permit the use of rpath, such as Fedora.
|
// do not permit the use of rpath, such as Fedora.
|
||||||
property bool enableRPath: true
|
property bool enableRPath: true
|
||||||
|
|
||||||
|
// Use this property to disable the use of precompiled headers. This can be used when packaging Valentina for
|
||||||
|
// distributions which provides not enough space on build servers.
|
||||||
|
property bool enablePCH: true
|
||||||
|
|
||||||
property string libDirName: "lib"
|
property string libDirName: "lib"
|
||||||
|
|
||||||
property string appTarget
|
property string appTarget
|
||||||
|
|
|
@ -161,6 +161,7 @@ VApp {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.targetOS.contains("windows"))
|
if (qbs.targetOS.contains("windows"))
|
||||||
|
|
|
@ -85,6 +85,7 @@ VApp {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -165,6 +165,7 @@ VApp {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -15,6 +15,7 @@ VLib {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -72,6 +72,7 @@ VLib {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -38,6 +38,7 @@ VLib {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -47,6 +47,7 @@ VLib {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -18,6 +18,7 @@ VLib {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -55,6 +55,7 @@ VLib {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -74,6 +74,7 @@ VLib {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -120,6 +120,7 @@ VLib {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -14,6 +14,7 @@ VLib {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -100,6 +100,7 @@ VLib {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -90,6 +90,7 @@ VLib {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -15,6 +15,7 @@ VLib {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -470,6 +470,7 @@ VLib {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -63,6 +63,7 @@ VLib {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -24,6 +24,7 @@ VApp {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -17,6 +17,7 @@ VApp {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -33,6 +33,7 @@ VApp {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
|
@ -70,6 +70,7 @@ VApp {
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
name: "Precompiled headers"
|
name: "Precompiled headers"
|
||||||
|
condition: buildconfig.enablePCH
|
||||||
files: {
|
files: {
|
||||||
var files = ["stable.h"];
|
var files = ["stable.h"];
|
||||||
if (qbs.toolchain.contains("msvc"))
|
if (qbs.toolchain.contains("msvc"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user