summaryrefslogtreecommitdiffstats
path: root/coin/instructions/prepare_configure_module_executable.yaml
blob: a28359e3fdfaa24f25315c3f81d80249e0beec44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Call either qt-cmake or qt-configure-module 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.
type: Group
instructions:
  - type: Group
    enable_if:
      condition: property
      property: features
      contains_value: UseConfigure
    instructions:
      - type: EnvironmentVariable
        variableName: CONFIGURE_EXECUTABLE
        variableValue: "{{.InstallDir}}{{.Env.INSTALL_DIR_SUFFIX}}{{.Env.CI_PATH_SEP}}bin{{.Env.CI_PATH_SEP}}qt-configure-module"
        disable_if:
          condition: property
          property: host.os
          equals_value: Windows
      - type: EnvironmentVariable
        variableName: CONFIGURE_EXECUTABLE
        variableValue: "{{.InstallDir}}{{.Env.INSTALL_DIR_SUFFIX}}{{.Env.CI_PATH_SEP}}bin{{.Env.CI_PATH_SEP}}qt-configure-module.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: "{{.InstallDir}}{{.Env.INSTALL_DIR_SUFFIX}}{{.Env.CI_PATH_SEP}}libexec{{.Env.CI_PATH_SEP}}qt-cmake-private"
        disable_if:
          condition: property
          property: host.os
          equals_value: Windows
      - type: EnvironmentVariable
        variableName: CONFIGURE_EXECUTABLE
        variableValue: "{{.InstallDir}}{{.Env.INSTALL_DIR_SUFFIX}}{{.Env.CI_PATH_SEP}}bin{{.Env.CI_PATH_SEP}}qt-cmake-private.bat"
        enable_if:
          condition: property
          property: host.os
          equals_value: Windows