Revision control

Copy as Markdown

type: Group
instructions:
- type: EnvironmentVariable
variableName: EXAMPLES_ENV_PREFIX
variableValue: "{{.Env.TARGET_ENV_PREFIX}}"
- type: EnvironmentVariable
variableName: INSTALL_DIR_FOR_EXAMPLES
variableValue: "{{.InstallDir}}\\target"
enable_if:
condition: property
property: host.os
equals_value: Windows
- type: EnvironmentVariable
variableName: INSTALL_DIR_FOR_EXAMPLES
variableValue: "{{.InstallDir}}/target"
# TODO: Might need android multi-abi support whenever we decide to build examples for that
# config. See 7b9bb698b93e747e02bf6ab8310c439867318f8e in qtbase and how the instructions
# were modified for multi-abi android tests.
disable_if:
condition: property
property: host.os
equals_value: Windows
- type: EnvironmentVariable
variableName: COIN_CMAKE_ARGS
variableValue: "{{.Env.COMMON_TARGET_EXAMPLES_CMAKE_ARGS}}"
- type: AppendToEnvironmentVariable
variableName: COIN_CMAKE_ARGS
variableValue: " ${{ToUpper .Env.TESTED_MODULE_COIN}}_TARGET_EXAMPLES_CMAKE_ARGS"
enable_if:
condition: runtime
env_var: "{{ToUpper .Env.TESTED_MODULE_COIN}}_TARGET_EXAMPLES_CMAKE_ARGS"
not_equals_value: null
# Examples configured as external projects will find the target platform tools, e.g 'lupdate'.
# To ensure the target tools can run on the host, we need to set the QEMU_LD_PREFIX.
- !include "{{qt/qtbase}}/coin_module_test_qemu_env_vars.yaml"
- !include "{{qt/qtbase}}/cmake_build_standalone_examples.yaml"
enable_if:
condition: property
property: features
contains_value: StandaloneExamples