Build script improvements

Made sure devshell only loads up the msvc env once.
This commit is contained in:
2023-08-20 22:39:46 -04:00
parent b3f0c2734f
commit 7d1c499e7b
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
if ($env:VCINSTALLDIR) {
return
}
$ErrorActionPreference = "Stop"
# Use vswhere to find the latest Visual Studio installation