Property to disable the use of precompiled headers.

This commit is contained in:
Roman Telezhynskyi 2023-01-09 14:14:48 +02:00
parent 78fb2c246b
commit d6e3dfcbb3
22 changed files with 25 additions and 0 deletions

View File

@ -16,6 +16,10 @@ Module {
// do not permit the use of rpath, such as Fedora.
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 appTarget

View File

@ -161,6 +161,7 @@ VApp {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.targetOS.contains("windows"))

View File

@ -85,6 +85,7 @@ VApp {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -165,6 +165,7 @@ VApp {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -15,6 +15,7 @@ VLib {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -72,6 +72,7 @@ VLib {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -38,6 +38,7 @@ VLib {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -47,6 +47,7 @@ VLib {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -18,6 +18,7 @@ VLib {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -55,6 +55,7 @@ VLib {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -74,6 +74,7 @@ VLib {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -120,6 +120,7 @@ VLib {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -14,6 +14,7 @@ VLib {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -100,6 +100,7 @@ VLib {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -90,6 +90,7 @@ VLib {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -15,6 +15,7 @@ VLib {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -470,6 +470,7 @@ VLib {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -63,6 +63,7 @@ VLib {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -24,6 +24,7 @@ VApp {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -17,6 +17,7 @@ VApp {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -33,6 +33,7 @@ VApp {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))

View File

@ -70,6 +70,7 @@ VApp {
Group {
name: "Precompiled headers"
condition: buildconfig.enablePCH
files: {
var files = ["stable.h"];
if (qbs.toolchain.contains("msvc"))