qt5base-lts/util/cmake/tests
Leander Beernaert 5d7bb2e4f0 Add support for converting qtTargetLibrary() value assignments
Add support to pro2cmake to handle variable assignments via functions,
e.g: TARGET = $$qtTargetLibrary($$TARGET). The evalulation of the
functions happens during parsing and is very rudementary in nature.

Currently it only covers the qtTargetLibrary(), required for certain
projects, and quote(), required for passing unit tests.

If we run into any unhanlded function an exception will be thrown.

This patch also changes the TARGET property on Scope to expand the
value.

Change-Id: I678b7058067348a3972944bdba110f556cf22447
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Qt CMake Build Bot
2019-08-08 13:03:28 +00:00
..
data Add support for converting qtTargetLibrary() value assignments 2019-08-08 13:03:28 +00:00
__init__.py
test_lc_fixup.py Remove all line continuations when processing qmake syntax 2019-05-23 14:19:22 +00:00
test_logic_mapping.py CMake: pro2cmake.py: Improve condition simplification code 2019-02-27 16:02:58 +00:00
test_operations.py CMake: Fix test_operations 2019-05-17 13:26:26 +00:00
test_parsing.py Add support for converting qtTargetLibrary() value assignments 2019-08-08 13:03:28 +00:00
test_scope_handling.py Enable recursive expansion of simple qmake variables 2019-07-18 07:26:01 +00:00