summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-11 16:40:37 (GMT)
committerBrad King <brad.king@kitware.com>2022-11-11 20:05:30 (GMT)
commit781303c0e263b2497829a8f7c2160d223faa8509 (patch)
tree53211045795bf09ee07df4d754176516fd0acfce /.gitlab/ci
parentb0d16c7f7404bfa9979680b5bb4994441a6c0faa (diff)
downloadCMake-781303c0e263b2497829a8f7c2160d223faa8509.zip
CMake-781303c0e263b2497829a8f7c2160d223faa8509.tar.gz
CMake-781303c0e263b2497829a8f7c2160d223faa8509.tar.bz2
ci: Factor out helper to load qt into environment on Windows
Diffstat (limited to '.gitlab/ci')
-rwxr-xr-x.gitlab/ci/qt-env.ps14
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab/ci/qt-env.ps1 b/.gitlab/ci/qt-env.ps1
new file mode 100755
index 0000000..c087a59
--- /dev/null
+++ b/.gitlab/ci/qt-env.ps1
@@ -0,0 +1,4 @@
+$pwdpath = $pwd.Path
+cmake -P .gitlab/ci/download_qt.cmake
+Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\qt\bin;$env:PATH"
+qmake -v