Debian Codegraph @

coin/instructions/prepare_configure_executable.yaml

raw
1 # Call either cmake or configure depending on whether the
2 # UseConfigure platform configuration feature is set.
3 # We should remove the cmake branch, once all platform configurations
4 # are ported to use configure.
5 type: Group
6 instructions:
7 - type: Group
8 enable_if:
9 condition: property
10 property: features
11 contains_value: UseConfigure
12 instructions:
13 - type: EnvironmentVariable
14 variableName: CONFIGURE_EXECUTABLE
15 variableValue: "{{.SourceDir}}/configure"
16 disable_if:
17 condition: property
18 property: host.os
19 equals_value: Windows
20 - type: EnvironmentVariable
21 variableName: CONFIGURE_EXECUTABLE
22 variableValue: "{{.SourceDir}}\\configure.bat"
23 enable_if:
24 condition: property
25 property: host.os
26 equals_value: Windows
27 - type: Group
28 disable_if:
29 condition: property
30 property: features
31 contains_value: UseConfigure
32 instructions:
33 - type: EnvironmentVariable
34 variableName: CONFIGURE_EXECUTABLE
35 variableValue: "cmake"