Enable extensions before setting up MSVC
Apparently it's necessary when using setenv.cmd of WSDK.
This commit is contained in:
parent
d7472dd594
commit
ff42be1ac9
@ -1139,7 +1139,7 @@ def setup_vs_and_rerun(vs_version, arch):
|
|||||||
|
|
||||||
bat_h = open(bat_name, "wb")
|
bat_h = open(bat_name, "wb")
|
||||||
bat_h.write(b"@echo off\r\n")
|
bat_h.write(b"@echo off\r\n")
|
||||||
bat_h.write(b"setlocal\r\n")
|
bat_h.write(b"setlocal enabledelayedexpansion enableextensions\r\n")
|
||||||
|
|
||||||
if opts.verbose:
|
if opts.verbose:
|
||||||
bat_h.write(b"echo Running {}\r\n".format(vs_setup_cmd))
|
bat_h.write(b"echo Running {}\r\n".format(vs_setup_cmd))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user