Remove duplicates when transitively adding library dependencies.
authorChristian Kandeler <christian.kandeler@digia.com>
Tue, 29 Oct 2013 16:04:26 +0000 (17:04 +0100)
committerChristian Kandeler <christian.kandeler@digia.com>
Tue, 29 Oct 2013 17:26:01 +0000 (18:26 +0100)
commit4d49aae4570ac059212d0a8ff7244b2779e0a546
tree95b4385ad02504a67cf3656399a3f99dc47ed860
parentff6483f79d5f89f4a68f20548e6d4f38b004fb94
Remove duplicates when transitively adding library dependencies.

When not doing that, the number of redundant linker arguments can reach
enormous values rather quickly. For instance, the size of Qt Creator's
build graph on Linux goes down by 10 per cent due to this change.

Task-number: QBS-435
Change-Id: I772fc6a6c90696b5d0a3e0ebd65315cf0773552f
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
share/qbs/modules/cpp/GenericGCC.qbs
share/qbs/modules/utils.js