qt6-bb10/config.tests/common
Oswald Buddenhagen c0cc505209 rewrite library handling in configure
so far, each library was distributed over a test and (optionally) a
'library' output of a feature. this was conceptually messy and limiting.
so instead, turn libraries into a category of their own.

libraries now support multiple properly separated sources, which makes
overriding them a lot saner. sources can be conditional to accommodate
platform differences.

as an immediate consequence, move (almost) all library references from
the config test projects to the json file.
a few tests were excluded, because they are doing somewhat magic things
that should not be handled in this bulk change:
- freetype: .pri file shared with actual source code
- clock-gettime: -lrt is conditional, and there is a .pri file which is
  shared with actual source code
- ipc_posix: -lrt & -lpthread conditional
- iconv: -liconv conditional

the multi-source mechanism is used to make a variety of tests work on
windows, where the library name differs from unix (and sometimes between
build configurations). some tests still needed minor adjustments to
actually work.

on the way, fix up disagreements between manually specified libraries
and pkg-config lines (affecting several xcb-related tests).

Change-Id: Ic8c58556fa0cf8f981d386b13ea34b4431b127c5
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2016-08-18 17:09:52 +00:00
..
atomic64 Merge "Merge remote-tracking branch 'origin/5.6' into dev" into refs/staging/dev 2016-01-26 11:27:37 +00:00
atomicfptr configure: check whether std::atomic<T> works for function pointers 2016-06-09 15:58:23 +00:00
avx Updated license headers 2016-01-15 12:25:24 +00:00
avx2 Update the Intel copyright year 2016-01-21 22:44:16 +00:00
avx512 Update the Intel copyright year 2016-01-21 22:44:16 +00:00
c++1z Update the Intel copyright year 2016-01-21 22:44:16 +00:00
c++14 Update the Intel copyright year 2016-01-21 22:44:16 +00:00
c++98default Reimplement compiler default detection 2016-07-15 10:11:01 +00:00
libproxy rewrite library handling in configure 2016-08-18 17:09:52 +00:00
pch get rid of test type 'shell' 2016-08-12 22:04:50 +00:00
sse2 Updated license headers 2016-01-15 12:25:24 +00:00
sse3 Updated license headers 2016-01-15 12:25:24 +00:00
sse4_1 Updated license headers 2016-01-15 12:25:24 +00:00
sse4_2 Updated license headers 2016-01-15 12:25:24 +00:00
ssse3 Updated license headers 2016-01-15 12:25:24 +00:00
xlocalescanprint Updated license headers 2016-01-15 12:25:24 +00:00