diff options
| author | Alexandru Croitor <[email protected]> | 2020-04-08 18:34:00 +0200 | 
|---|---|---|
| committer | Alexandru Croitor <[email protected]> | 2020-04-08 21:58:41 +0200 | 
| commit | 0a13c3a3f0ef1eb7274badac000db9ec584faeca (patch) | |
| tree | 6114f5e3a10ad2e5a28d371a815daea3e88044a7 /util/cmake/helper.py | |
| parent | 0651a4c27410ee48419a98985e6eea35c9f2a02b (diff) | |
CMake: pro2cmake: Handle $$PWD in included .pri files correct-ish
Previously the $$PWD was evaluated within the including .pro file,
which generated incorrect relative paths to source files.
Now we use a horrible hack to evaluate keys ending with SOURCES
and HEADERS. If such is a case, use a map_file transformer which
will use the included scope, thus creating correct relative paths.
Fixes projects in qtdeclarative like src/qmltypregistrar and qmllint.
Checked that it doesn't break projects in qtdeclarative and qtbase.
Change-Id: I21f1e4c638c2cf8d0f67e94e1a583ebc54c175a2
Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'util/cmake/helper.py')
0 files changed, 0 insertions, 0 deletions
