diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2023-11-23 18:52:16 +0100 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2023-11-27 10:54:55 +0100 |
| commit | 9824308bbc0bc20429c78e08323cd65260757476 (patch) | |
| tree | 25b0a7a535b9535ab3dd9355cf4e1596ae881e0b /sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp | |
| parent | e89d05ec5f703922b334233aa48005f828b16281 (diff) | |
CMake: Fix shiboken_wrapper.sh not existing during yocto cross builds
Previously we tried to reuse an existing host build dir shell wrapper
to run shiboken. But the wrapper won't be available in a yocto
cross-build because the file is never installed.
Instead of installing the shell wrapper, save the original host paths
in exported target properties and always regenerate the wrapper.
The new lookup order is:
- check the new command line cache vars
- otherwise use the original host paths when they are valid / exist
- otherwise use the usual QT6_INSTALL_PREFIX var and LLVM_INSTALL_DIR
env var
The new command line cache vars are:
- SHIBOKEN_WRAPPER_HOST_QT_LIB_PATH
- SHIBOKEN_WRAPPER_HOST_CLANG_LIB_PATH
Amends cc0481a46f801473c3dbabe855534a7aa034443f
Amends 4685aca4fc09db54b21814c7e70b62d4689bdccb
Pick-to: 6.6
Fixes: PYSIDE-2530
Change-Id: I7ff75e7b8a78427b1ee02662503575a2ea5d4568
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp')
0 files changed, 0 insertions, 0 deletions
