mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-05 15:40:10 +00:00
Merge branch 'cherry-picked-build-improvements' into 'master'
Cherry picked build improvements See merge request OpenMW/openmw!225
This commit is contained in:
commit
efd1c7c8a5
@ -1,11 +1,13 @@
|
|||||||
& "${env:COMSPEC}" /c ActivateMSVC.bat "&&" set | ForEach-Object {
|
& "${env:COMSPEC}" /c ActivateMSVC.bat "&&" set | ForEach-Object {
|
||||||
|
if ($_.Contains("=")) {
|
||||||
$name, $value = $_ -split '=', 2
|
$name, $value = $_ -split '=', 2
|
||||||
Set-Content env:\"$name" $value
|
Set-Content env:\"$name" $value
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$MissingTools = $false
|
$MissingTools = $false
|
||||||
$tools = "cl", "link", "rc", "mt", "awooga"
|
$tools = "cl", "link", "rc", "mt"
|
||||||
$descriptions = "MSVC Compiler", "MSVC Linker", "MS Windows Resource Compiler", "MS Windows Manifest Tool", "A made up command"
|
$descriptions = "MSVC Compiler", "MSVC Linker", "MS Windows Resource Compiler", "MS Windows Manifest Tool"
|
||||||
for ($i = 0; $i -lt $tools.Length; $i++) {
|
for ($i = 0; $i -lt $tools.Length; $i++) {
|
||||||
$present = $true
|
$present = $true
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user