qt5base-lts/util/cmake
Leander Beernaert 341ccc3b59 Enable recursive expansion of simple qmake variables
Allow _expand_value to expand variables that may have more than
one level of expansion when the regular expression covers all
of the input. E.g.:

A = Foo
B = $$A/Bar
scope.expand('$$B')

While the original code was able to expand the string '$$B/source.cpp' to
'Foo/Bar/source.cpp', it could not expand the string '$$B' completely.
The latter would always return '$$A/Bar' instead of the expected 'Foo/Bar'
string.

A test case has been added which coveres the above example.

Change-Id: Ie3b5739c24ecbeb67d408dd204b0f54bab1d0f3f
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2019-07-18 07:26:01 +00:00
..
tests Enable recursive expansion of simple qmake variables 2019-07-18 07:26:01 +00:00
cmakeconversionrate.py Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
configurejson2cmake.py Fix some configure.json conditions for qtimageformats 2019-06-06 06:59:48 +00:00
generate_module_map.sh Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
helper.py Add support for QML plugins 2019-07-15 12:28:12 +00:00
json_parser.py Improve configurejson2cmake.py to handle non-compliant qmake JSON 2019-05-27 07:48:51 +00:00
Pipfile CMake: pro2cmake.py: Simplify conditions 2019-01-29 09:29:38 +00:00
pro2cmake.py Enable recursive expansion of simple qmake variables 2019-07-18 07:26:01 +00:00
pro_conversion_rate.py Add script to print out list of unconverted .pro files 2019-04-08 14:53:46 +00:00
run_pro2cmake.py Improve run_pro2cmake.py 2019-06-05 07:41:46 +00:00
special_case_helper.py Improve special case handler to work on Windows 2019-06-11 14:09:54 +00:00