CMake/.gitlab/ci/openwatcom-env.ps1
Brad King 7f9817b7cb Remove unnecessary executable permission from .ps1 scripts
Powershell scripts cannot be launched as commands on Windows.
They must be run through the `powershell` or `pwsh` tool.
2024-04-30 09:33:44 -04:00

8 lines
475 B
PowerShell

Invoke-Expression -Command .gitlab/ci/openwatcom.ps1
$pwdpath = $pwd.Path
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\watcom\binnt;$pwdpath\.gitlab\watcom\binw;$env:PATH"
Set-Item -Force -Path "env:INCLUDE" -Value "$pwdpath\.gitlab\watcom\h;$pwdpath\.gitlab\watcom\h\nt"
Set-Item -Force -Path "env:EDPATH" -Value "$pwdpath\.gitlab\watcom\eddat"
Set-Item -Force -Path "env:WATCOM" -Value "$pwdpath\.gitlab\watcom"
Set-Item -Force -Path "env:WLINKTMP" -Value "."