summaryrefslogtreecommitdiffstats
path: root/coin/instructions/qmake_examples/get_examples_source_location.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'coin/instructions/qmake_examples/get_examples_source_location.yaml')
-rw-r--r--coin/instructions/qmake_examples/get_examples_source_location.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/coin/instructions/qmake_examples/get_examples_source_location.yaml b/coin/instructions/qmake_examples/get_examples_source_location.yaml
new file mode 100644
index 0000000000..ca360e8727
--- /dev/null
+++ b/coin/instructions/qmake_examples/get_examples_source_location.yaml
@@ -0,0 +1,16 @@
+type: Group
+instructions:
+ - type: EnvironmentVariable
+ variableName: COIN_EXAMPLES_SOURCE_LOCATION
+ variableValue: "{{.SourceDir}}\\examples"
+ enable_if:
+ condition: property
+ property: host.os
+ equals_value: Windows
+ - type: EnvironmentVariable
+ variableName: COIN_EXAMPLES_SOURCE_LOCATION
+ variableValue: "{{.SourceDir}}/examples"
+ disable_if:
+ condition: property
+ property: host.os
+ equals_value: Windows