summaryrefslogtreecommitdiffstats
path: root/coin/instructions/qmake/get_qmake_location_target.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'coin/instructions/qmake/get_qmake_location_target.yaml')
-rw-r--r--coin/instructions/qmake/get_qmake_location_target.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/coin/instructions/qmake/get_qmake_location_target.yaml b/coin/instructions/qmake/get_qmake_location_target.yaml
new file mode 100644
index 0000000000..13940bdad2
--- /dev/null
+++ b/coin/instructions/qmake/get_qmake_location_target.yaml
@@ -0,0 +1,29 @@
+type: Group
+instructions:
+ - type: EnvironmentVariable
+ variableName: COIN_QMAKE_LOCATION
+ variableValue: "{{.InstallDir}}\\target\\bin\\qmake.bat"
+ enable_if:
+ condition: property
+ property: host.os
+ equals_value: Windows
+ - type: Group
+ disable_if:
+ condition: property
+ property: host.os
+ equals_value: Windows
+ instructions:
+ - type: EnvironmentVariable
+ variableName: COIN_QMAKE_LOCATION
+ variableValue: "{{.InstallDir}}/target/bin/qmake"
+ disable_if:
+ condition: property
+ property: target.osVersion
+ equals_value: QEMU
+ - type: EnvironmentVariable
+ variableName: COIN_QMAKE_LOCATION
+ variableValue: "{{.InstallDir}}/target/bin/host-qmake"
+ enable_if:
+ condition: property
+ property: target.osVersion
+ equals_value: QEMU