Set WindowsSdkDir as well

This commit is contained in:
rdb 2009-07-20 12:02:34 +00:00
parent 5de0684daf
commit e47b82c37a

View File

@ -1015,6 +1015,7 @@ def SetupVisualStudioEnviron():
if ("MSPLATFORM" not in SDK):
exit("Could not find the Microsoft Platform SDK")
os.environ["VCINSTALLDIR"] = SDK["VISUALSTUDIO"] + "VC"
os.environ["WindowsSdkDir"] = SDK["MSPLATFORM"]
AddToPathEnv("PATH", SDK["VISUALSTUDIO"] + "VC\\bin")
AddToPathEnv("PATH", SDK["VISUALSTUDIO"] + "Common7\\IDE")
AddToPathEnv("INCLUDE", SDK["VISUALSTUDIO"] + "VC\\include")