mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-04 14:07:42 +08:00
This is the qt5 counterpart to the qtbase instructions to allow using configure instead of cmake when configuring a top-level build. Pick-to: 6.2 6.3 Task-number: QTQAINFRA-4357 Task-number: QTQAINFRA-4815 Change-Id: Ie5af31f9349a6dd88fa7699d40dad659180814e2 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Toni Saario <toni.saario@qt.io>
38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
# Call either cmake or configure depending on whether the
|
|
# UseConfigure platform configuration feature is set.
|
|
# We should remove the cmake branch, once all platform configurations
|
|
# are ported to use configure.
|
|
# TODO: Remove this file, and reference the one in qtbase, once all
|
|
# all dependencies are propagated.
|
|
type: Group
|
|
instructions:
|
|
- type: Group
|
|
enable_if:
|
|
condition: property
|
|
property: features
|
|
contains_value: UseConfigure
|
|
instructions:
|
|
- type: EnvironmentVariable
|
|
variableName: CONFIGURE_EXECUTABLE
|
|
variableValue: "{{.SourceDir}}/configure"
|
|
disable_if:
|
|
condition: property
|
|
property: host.os
|
|
equals_value: Windows
|
|
- type: EnvironmentVariable
|
|
variableName: CONFIGURE_EXECUTABLE
|
|
variableValue: "{{.SourceDir}}\\configure.bat"
|
|
enable_if:
|
|
condition: property
|
|
property: host.os
|
|
equals_value: Windows
|
|
- type: Group
|
|
disable_if:
|
|
condition: property
|
|
property: features
|
|
contains_value: UseConfigure
|
|
instructions:
|
|
- type: EnvironmentVariable
|
|
variableName: CONFIGURE_EXECUTABLE
|
|
variableValue: "cmake"
|