diff options
author | Friedemann Kleint <[email protected]> | 2024-10-17 13:45:17 +0200 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2024-10-18 11:40:18 +0200 |
commit | e17afdce09636145949a7bdd229d0714d981d818 (patch) | |
tree | 0ad636a36894be554be6ade0437d8287229345df /build_scripts/utils.py | |
parent | ab3c2cbea48b8f1ecfd19bbe1c6116d7734ee9d1 (diff) |
build/Windows: Clean up the code
- Remove the binaries from the list of filters retrieved from the .7z file.
- Rename copy_qt_dependency_dlls() to download_qt_dependency_dlls()
for clarity.
- Split the artifact list into one containing the Multimedia libraries
and a helper function qt_rhi_artifacts_permanent() for RHI/rendering
related libraries.
- Add a helper function returning whether it is running in COIN
Complements 36f62dd5d45b8b84bd80064ceb43bab74a89321e.
Pick-to: 6.8
Change-Id: I47518c2f1f9abe601c57c85bd1ec30e5ec5d13c2
Reviewed-by: Shyamnath Premnadh <[email protected]>
Diffstat (limited to 'build_scripts/utils.py')
-rw-r--r-- | build_scripts/utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build_scripts/utils.py b/build_scripts/utils.py index 02a796897..3f5b47d6f 100644 --- a/build_scripts/utils.py +++ b/build_scripts/utils.py @@ -1174,3 +1174,7 @@ def copy_qt_metatypes(destination_qt_dir, _vars): copydir(qt_meta_types_dir, destination_qt_dir / rel_meta_data_dir, _filter=["*.json"], recursive=False, _vars=_vars, force_copy_symlinks=True) + + +def in_coin(): + return os.environ.get('COIN_LAUNCH_PARAMETERS', None) is not None |