5d7bb2e4f0
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 |
||
---|---|---|
.. | ||
comment_scope.pro | ||
complex_assign.pro | ||
complex_condition.pro | ||
complex_values.pro | ||
condition_without_scope.pro | ||
contains_scope.pro | ||
definetest.pro | ||
else2.pro | ||
else3.pro | ||
else4.pro | ||
else5.pro | ||
else6.pro | ||
else7.pro | ||
else8.pro | ||
else.pro | ||
escaped_value.pro | ||
for.pro | ||
function_if.pro | ||
include.pro | ||
lc_with_comment.pro | ||
lc.pro | ||
load.pro | ||
multi_condition_divided_by_lc.pro | ||
multiline_assign.pro | ||
nested_function_calls.pro | ||
quoted.pro | ||
single_line_for.pro | ||
sql.pro | ||
standardpaths.pro | ||
unset.pro | ||
value_function.pro |