qt5base-lts/util/cmake/tests/data
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
..
comment_scope.pro CMake: pro2cmake.py: Better parsing of scopes with else 2019-02-27 16:02:45 +00:00
complex_assign.pro CMake: pro2cmake.py: Handle values with () in assignments 2019-02-27 16:03:20 +00:00
complex_condition.pro CMake: pro2cmake.py: Handle complex conditions 2019-02-28 08:06:49 +00:00
complex_values.pro
condition_without_scope.pro Improve qmake syntax parser in pro2cmake.py 2019-05-23 14:17:46 +00:00
contains_scope.pro CMake: pro2cmake.py: Better parsing of scopes with else 2019-02-27 16:02:45 +00:00
definetest.pro
else2.pro
else3.pro
else4.pro
else5.pro
else6.pro
else7.pro
else8.pro
else.pro
escaped_value.pro CMake: pro2cmake.py: Make \$\$QT_FOO work in assignments 2019-02-28 08:08:17 +00:00
for.pro CMake: pro2cmake.py: Fix parsing of for loops 2019-02-28 08:08:00 +00:00
function_if.pro
include.pro
lc_with_comment.pro Fix the fix to correctly handle comments in multi-line assignments 2019-05-20 13:18:11 +00:00
lc.pro CMake: pro2cmake.py: Simplify code and add test for line continuation 2019-02-28 08:08:41 +00:00
load.pro
multi_condition_divided_by_lc.pro Improve qmake syntax parser in pro2cmake.py 2019-05-23 14:17:46 +00:00
multiline_assign.pro CMake: pro2cmake.py: Better parsing of scopes with else 2019-02-27 16:02:45 +00:00
nested_function_calls.pro Improve qmake syntax parser in pro2cmake.py 2019-05-23 14:17:46 +00:00
quoted.pro
single_line_for.pro CMake: pro2cmake.py: Handle for loops without block 2019-02-28 08:08:30 +00:00
sql.pro CMake: pro2cmake.py: Fix parsing of Line continuation before end of file 2019-02-28 08:08:08 +00:00
standardpaths.pro CMake: pro2cmake.py: Better parsing of scopes with else 2019-02-27 16:02:45 +00:00
unset.pro
value_function.pro Add support for converting qtTargetLibrary() value assignments 2019-08-08 13:03:28 +00:00