coin: Build qmake examples in non-qtbase repos

COIN_CONFIGURE_ARGS would only contain -make examples in qtbase
builds. In other repos it would use values like
NON_QTBASE_CONFIGURE_ARGS, which would not contain -make examples.

Check CONFIGURE_ARGS and TARGET_CONFIGURE_ARGS which are guaranteed to
contain -make examples when building any repo.

Amends 440438092b

Change-Id: I9bf086f8104da85ed8ece335a45c6628ea591f2a
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
bb10
Alexandru Croitor 2022-12-08 16:30:05 +01:00
parent 85b941f425
commit 3cb3218797
1 changed files with 6 additions and 2 deletions

View File

@ -21,7 +21,11 @@ instructions:
- condition: runtime
env_var: COIN_CMAKE_ARGS
contains_value: "QT_BUILD_EXAMPLES=ON"
# covers all cases for UseConfigure configs
# host case
- condition: runtime
env_var: COIN_CONFIGURE_ARGS
env_var: CONFIGURE_ARGS
contains_value: "-make examples"
# target case
- condition: runtime
env_var: TARGET_CONFIGURE_ARGS
contains_value: "-make examples"