diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2023-05-16 10:47:26 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-05-16 11:07:25 +0000 |
commit | 5c1973d4b74e0823b4f4fedc896ac342520ae852 (patch) | |
tree | ea85859dcc6182add6df35e1ed9319aa5ec6b652 /src/lib/corelib/language/filecontext.h | |
parent | ce626e5e919cabb32a7fa1be35025837196b8204 (diff) | |
download | qbs-5c1973d4b74e0823b4f4fedc896ac342520ae852.tar.gz |
Loader: Do not error out when encountering duplicate multiplex values
In qbs, values of list properties specified in a project file are merged
with those from the profile.
As of fb52fed84a1510a7de0172e643d6fd66a780e2e8, this is also true for
the special multiplexing properties ("qbs.architectures",
"qbs.buildVariants" etc). This means it can now happen that we end up
with duplicate entries in these lists implicitly. Therefore, it no longer
makes sense to throw an error when such duplicates are encountered, as
they were not necessarily specified verbatim. Instead, we simply ignore
the duplicate value and carry on normally.
Change-Id: Ie4fed2081bebd2b0dd62aa873cafed769b308e97
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'src/lib/corelib/language/filecontext.h')
0 files changed, 0 insertions, 0 deletions