summaryrefslogtreecommitdiffstats
path: root/configure.pri
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-08-16 20:03:54 +0200
committerLars Knoll <lars.knoll@qt.io>2016-08-19 04:28:55 +0000
commitce7df6ac7d8176ffaee07052089e8f24b6559ff4 (patch)
treeade207dacfe3fb552e64355bffd0d054c17a18f2 /configure.pri
parentb62a42dde1de6792fcd86708bb481a3fccd93611 (diff)
add configure test result caching
Started-by: Lars Knoll <lars.knoll@qt.io> Change-Id: I29bafc5913cf95d9908dbcdd9597df2258b69837 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'configure.pri')
-rw-r--r--configure.pri15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.pri b/configure.pri
index 8f3c3b401f..f42994d606 100644
--- a/configure.pri
+++ b/configure.pri
@@ -92,6 +92,8 @@ defineTest(qtConfTest_architecture) {
export($${1}.subarch)
qtLog("Detected architecture: $$eval($${1}.arch) ($$eval($${1}.subarch))")
+ $${1}.cache += arch subarch
+ export($${1}.cache)
return(true)
}
@@ -182,9 +184,12 @@ defineTest(qtConfTest_detectPkgConfig) {
export($${1}.pkgConfigLibdir)
$${1}.pkgConfigSysrootDir = $$pkgConfigSysrootDir
export($${1}.pkgConfigSysrootDir)
+ $${1}.cache += pkgConfigLibdir pkgConfigSysrootDir
}
$${1}.pkgConfig = $$pkgConfig
export($${1}.pkgConfig)
+ $${1}.cache += pkgConfig
+ export($${1}.cache)
PKG_CONFIG = $$pkgConfig
export(PKG_CONFIG)
@@ -215,6 +220,8 @@ defineTest(qtConfTest_skipModules) {
}
$${1}.value = $$unique(skip)
export($${1}.value)
+ $${1}.cache += value
+ export($${1}.cache)
return(true)
}
@@ -236,6 +243,8 @@ defineTest(qtConfTest_buildParts) {
$${1}.value = $$parts
export($${1}.value)
+ $${1}.cache += value
+ export($${1}.cache)
return(true)
}
@@ -283,6 +292,8 @@ defineTest(qtConfTest_checkCompiler) {
export($${1}.compilerDescription)
export($${1}.compilerId)
export($${1}.compilerVersion)
+ $${1}.cache += compilerDescription compilerId compilerVersion
+ export($${1}.cache)
return(true)
}
@@ -409,6 +420,8 @@ defineTest(qtConfTest_xkbConfigRoot) {
exists($$dir) {
$${1}.value = $$dir
export($${1}.value)
+ $${1}.cache += value
+ export($${1}.cache)
return(true)
}
}
@@ -434,6 +447,8 @@ defineTest(qtConfTest_qpaDefaultPlatform) {
export($${1}.value)
export($${1}.plugin)
export($${1}.name)
+ $${1}.cache += value plugin name
+ export($${1}.cache)
return(true)
}