diff options
Diffstat (limited to 'coin/instructions/prepare_configure_executable.yaml')
-rw-r--r-- | coin/instructions/prepare_configure_executable.yaml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/coin/instructions/prepare_configure_executable.yaml b/coin/instructions/prepare_configure_executable.yaml new file mode 100644 index 00000000..50474cc5 --- /dev/null +++ b/coin/instructions/prepare_configure_executable.yaml @@ -0,0 +1,37 @@ +# 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" |