Debian Codegraph @

coin/instructions/prepare_configure_module_executable.yaml

raw
1 # Call either qt-cmake or qt-configure-module 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: "{{.InstallDir}}{{.Env.INSTALL_DIR_SUFFIX}}{{.Env.CI_PATH_SEP}}bin{{.Env.CI_PATH_SEP}}qt-configure-module"
16 disable_if:
17 condition: property
18 property: host.os
19 equals_value: Windows
20 - type: EnvironmentVariable
21 variableName: CONFIGURE_EXECUTABLE
22 variableValue: "{{.InstallDir}}{{.Env.INSTALL_DIR_SUFFIX}}{{.Env.CI_PATH_SEP}}bin{{.Env.CI_PATH_SEP}}qt-configure-module.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: "{{.InstallDir}}{{.Env.INSTALL_DIR_SUFFIX}}{{.Env.CI_PATH_SEP}}libexec{{.Env.CI_PATH_SEP}}qt-cmake-private"
36 disable_if:
37 condition: property
38 property: host.os
39 equals_value: Windows
40 - type: EnvironmentVariable
41 variableName: CONFIGURE_EXECUTABLE
42 variableValue: "{{.InstallDir}}{{.Env.INSTALL_DIR_SUFFIX}}{{.Env.CI_PATH_SEP}}bin{{.Env.CI_PATH_SEP}}qt-cmake-private.bat"
43 enable_if:
44 condition: property
45 property: host.os
46 equals_value: Windows