qt5base-lts/util/cmake
Alexandru Croitor ba7c62eed5 Fix sub-architecture (instruction sets / SIMD) handling
In qmake there are at least 2 things to know regarding
sub-architectures and instruction sets.

Which instruction sets does the compiler know to compile for,
represented by the various config.tests and features in
qtbase/configure.json.

And which instructions sets are enabled by the compiler by default,
represented by the configure.json "architecture" test and accessed
via QT_CPU_FEATURES.$$arch qmake argument.

Before this patch there was some mishandling of the above concepts
in CMake code.

The former can now be checked in CMake with via TEST_subarch_foo and
QT_FEATURE_foo (where foo is sse2, etc).

The latter can now be checked by
TEST_arch_${TEST_architecture_arch}_subarch_foo
(where foo is sse2, etc and the main arch is dynamyicall evaluated).

The configurejson2cmake script was adjusted to take care of the above
changes, and the cmake files were regenerated as well.

Change-Id: Ifbf558242e320cafae50da388eee56fa5de2a50c
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2019-03-21 17:47:01 +00:00
..
tests CMake: pro2cmake.py: Simplify code and add test for line continuation 2019-02-28 08:08:41 +00:00
cmakeconversionrate.py Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
configurejson2cmake.py Fix sub-architecture (instruction sets / SIMD) handling 2019-03-21 17:47:01 +00:00
generate_module_map.sh Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
helper.py CMake: pro2cmake.py: Map libpng to PNG::PNG 2019-03-04 09:09:04 +00:00
Pipfile CMake: pro2cmake.py: Simplify conditions 2019-01-29 09:29:38 +00:00
pro2cmake.py CMake: pro2cmake.py: Report more qmake variables as used 2019-03-20 10:45:14 +00:00
run_pro2cmake.py CMake: run_pro2cmake.py: Add statistics 2019-02-28 08:07:07 +00:00