f00dbe1035
This reverts commit 0f5af511ea
.
Reason for revert: Examples build locally with qmake.
Task-number: QTBUG-109383
Change-Id: Ief37cda919c32f8a6275ed7d8a5f1d38dc1b9ed9
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
type: Group
|
|
instructions:
|
|
# Only enable building examples if -DQT_BUILD_EXAMPLES=ON was passed to the CMake config in some
|
|
# form. The variable to check unfortunately depends on host vs target, and qtbase vs non-qtbase.
|
|
- type: Group
|
|
instructions:
|
|
- !include "{{qt/qtbase}}/qmake_examples/build_qmake_examples_inner_instructions.yaml"
|
|
enable_if:
|
|
condition: or
|
|
conditions:
|
|
# qtbase host case
|
|
- condition: runtime
|
|
env_var: CONFIGURE_ARGS
|
|
contains_value: "QT_BUILD_EXAMPLES=ON"
|
|
# qtbase target case
|
|
- condition: runtime
|
|
env_var: TARGET_CONFIGURE_ARGS
|
|
contains_value: "QT_BUILD_EXAMPLES=ON"
|
|
# non-qtbase host case
|
|
# non-qtbase target case
|
|
- condition: runtime
|
|
env_var: COIN_CMAKE_ARGS
|
|
contains_value: "QT_BUILD_EXAMPLES=ON"
|
|
# host case
|
|
- condition: runtime
|
|
env_var: CONFIGURE_ARGS
|
|
contains_value: "-make examples"
|
|
# target case
|
|
- condition: runtime
|
|
env_var: TARGET_CONFIGURE_ARGS
|
|
contains_value: "-make examples"
|