[Build] Support building with the standalone VS Build Tools
This commit is contained in:
parent
536f6772da
commit
165c6f0e4d
11
xenia-build
11
xenia-build
|
@ -74,7 +74,16 @@ def import_vs_environment():
|
|||
install_path = None
|
||||
env_tool_args = None
|
||||
|
||||
vswhere = subprocess.check_output('third_party/vswhere/vswhere.exe -version "[15,)" -latest -prerelease -format json -utf8', shell=False, universal_newlines=True, encoding="utf-8")
|
||||
vswhere = subprocess.check_output(
|
||||
'third_party/vswhere/vswhere.exe -version "[15,)" -latest -prerelease -format json -utf8 -products '
|
||||
"Microsoft.VisualStudio.Product.Enterprise "
|
||||
"Microsoft.VisualStudio.Product.Professional "
|
||||
"Microsoft.VisualStudio.Product.Community "
|
||||
"Microsoft.VisualStudio.Product.BuildTools",
|
||||
shell=False,
|
||||
universal_newlines=True,
|
||||
encoding="utf-8",
|
||||
)
|
||||
if vswhere:
|
||||
vswhere = json.loads(vswhere)
|
||||
if vswhere and len(vswhere) > 0:
|
||||
|
|
Loading…
Reference in New Issue