mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 01:49:23 -05:00
94b27ccc36
Run powershell child scripts using the same powershell tool as the parent script.
5 lines
214 B
PowerShell
Executable File
5 lines
214 B
PowerShell
Executable File
$pwsh = [System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName
|
|
if (Test-Path -Path ".gitlab/ci/env_$env:CMAKE_CONFIGURATION.ps1" -PathType Leaf) {
|
|
. ".gitlab/ci/env_$env:CMAKE_CONFIGURATION.ps1"
|
|
}
|