summaryrefslogtreecommitdiffstats
path: root/coin/instructions/call_cmake.yaml
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2019-08-22 08:21:24 +0200
committerLiang Qi <liang.qi@qt.io>2019-08-30 08:40:02 +0000
commit8367a51c6d8b63ae3195ec5d46d3a2aee6ea7222 (patch)
treeb491999504a905003a43bdce5e4060214fb82d6e /coin/instructions/call_cmake.yaml
parent88883dbf60b4436a54a4f7e762d09372b9275198 (diff)
Share most common part of module_config.yaml
Change-Id: Ieea5b662e039cff24e26a127b4a3a8610ed588cc Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'coin/instructions/call_cmake.yaml')
-rw-r--r--coin/instructions/call_cmake.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/coin/instructions/call_cmake.yaml b/coin/instructions/call_cmake.yaml
new file mode 100644
index 0000000000..cbb15a7102
--- /dev/null
+++ b/coin/instructions/call_cmake.yaml
@@ -0,0 +1,22 @@
+type: Group
+instructions:
+ - type: ExecuteCommand
+ command: "{{.Env.ENV_PREFIX}} {{.InstallDir}}\\bin\\qt-cmake {{.Env.COIN_CMAKE_ARGS}}"
+ maxTimeInSeconds: 6000
+ maxTimeBetweenOutput: 120
+ userMessageOnFailure: >
+ Failed to call cmake. Contact Liang then.
+ enable_if:
+ condition: property
+ property: host.os
+ equals_value: Windows
+ - type: ExecuteCommand
+ command: "{{.InstallDir}}/bin/qt-cmake {{.Env.COIN_CMAKE_ARGS}}"
+ maxTimeInSeconds: 6000
+ maxTimeBetweenOutput: 120
+ userMessageOnFailure: >
+ Failed to call cmake. Contact Liang then.
+ disable_if:
+ condition: property
+ property: host.os
+ equals_value: Windows