configure: make cached results immediately available
otherwise test de-duplication between modules doesn't work. Change-Id: I2c6222d853108df223758aa8907dc8d004efd87f Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
fd3423bfb8
commit
ff1c8baf4a
@ -1052,8 +1052,13 @@ defineTest(qtConfSaveResult) {
|
||||
return()
|
||||
keys = result $$eval($${1}.cache)
|
||||
cont = "cache.$${2}._KEYS_ = $$keys"
|
||||
for (k, keys): \
|
||||
cache.$${2}._KEYS_ = $$keys
|
||||
export(cache.$${2}._KEYS_)
|
||||
for (k, keys) {
|
||||
cont += "cache.$${2}.$${k} = $$val_escape($${1}.$${k})"
|
||||
cache.$${2}.$${k} = $$eval($${1}.$${k})
|
||||
export(cache.$${2}.$${k})
|
||||
}
|
||||
write_file($$QMAKE_CONFIG_CACHE, cont, append)|error()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user