mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 23:56:43 +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 changed files with 6 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,11 +1,13 @@
 | 
			
		|||
& "${env:COMSPEC}" /c ActivateMSVC.bat "&&" set | ForEach-Object {
 | 
			
		||||
    if ($_.Contains("=")) {
 | 
			
		||||
        $name, $value = $_ -split '=', 2
 | 
			
		||||
        Set-Content env:\"$name" $value
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
$MissingTools = $false
 | 
			
		||||
$tools = "cl", "link", "rc", "mt", "awooga"
 | 
			
		||||
$descriptions = "MSVC Compiler", "MSVC Linker", "MS Windows Resource Compiler", "MS Windows Manifest Tool", "A made up command"
 | 
			
		||||
$tools = "cl", "link", "rc", "mt"
 | 
			
		||||
$descriptions = "MSVC Compiler", "MSVC Linker", "MS Windows Resource Compiler", "MS Windows Manifest Tool"
 | 
			
		||||
for ($i = 0; $i -lt $tools.Length; $i++) {
 | 
			
		||||
    $present = $true
 | 
			
		||||
    try {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue