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 440438092bc6276399cbb1bd9425227898221587

Change-Id: I9bf086f8104da85ed8ece335a45c6628ea591f2a
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Alexandru Croitor 2022-12-08 16:30:05 +01:00
parent 85b941f425
commit 3cb3218797

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"