clash-check configure sub-config names
we derive the keys from the last fragment of the parent directory, which is potentially not globally unique. Change-Id: I57cf13394984e6e3d902c0f1bb495bd3920bfc75 Reviewed-by: Lars Knoll <lars.knoll@qt.io>bb10
parent
0f16ac3d64
commit
2408166f5a
|
|
@ -1827,6 +1827,9 @@ for(ever) {
|
|||
for(n, $${currentConfig}.subconfigs._KEYS_) {
|
||||
subconfig = $$eval($${currentConfig}.subconfigs.$${n})
|
||||
name = $$basename(subconfig)
|
||||
ex = $$eval(config.$${name}.dir)
|
||||
!isEmpty(ex): \
|
||||
error("Basename clash between $$thisDir/$$subconfig and $${ex}.")
|
||||
config.$${name}.dir = $$thisDir/$$subconfig
|
||||
subconfigs += $$name
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue