FoundVisualStudio+=[{"Name":"Visual Studio "+str(majorVersion)+""+str(VSVersions[majorVersion]),"DisplayName":"Visual C++ "+str(VSVersions[majorVersion])+" Express","Path":folderA,"Version":majorVersion,"Toolset":"v"+str(majorVersion)+"0","HasMFC":HasMFC(folderB)}]
FoundVisualStudio+=[{"Name":"Visual Studio "+str(majorVersion)+""+str(VSVersions[majorVersion]),"DisplayName":"Visual C++ "+str(VSVersions[majorVersion])+" Express","Path":folderA,"Version":majorVersion,"Toolset":"v"+str(majorVersion)+"0","HasMFC":HasMFC(folderA)}]
FoundVisualStudio+=[{"Name":"Visual Studio "+str(majorVersion)+""+str(VSVersions[majorVersion]),"DisplayName":"Visual C++ "+str(VSVersions[majorVersion])+" Express","Path":folderB,"Version":majorVersion,"Toolset":"v"+str(majorVersion)+"0","HasMFC":HasMFC(folderB)}]
FoundVisualStudio+=[{"Name":"Visual Studio "+str(majorVersion)+""+str(VSVersions[majorVersion]),"DisplayName":"Visual Studio "+str(VSVersions[majorVersion]),"Path":folderA,"Version":majorVersion,"Toolset":"v"+str(majorVersion)+"0","HasMFC":HasMFC(folderB)}]
FoundVisualStudio+=[{"Name":"Visual Studio "+str(majorVersion)+""+str(VSVersions[majorVersion]),"DisplayName":"Visual Studio "+str(VSVersions[majorVersion]),"Path":folderA,"Version":majorVersion,"Toolset":"v"+str(majorVersion)+"0","HasMFC":HasMFC(folderA)}]
FoundVisualStudio+=[{"Name":"Visual Studio "+str(majorVersion)+""+str(VSVersions[majorVersion]),"DisplayName":"Visual Studio "+str(VSVersions[majorVersion]),"Path":folderB,"Version":majorVersion,"Toolset":"v"+str(majorVersion)+"0","HasMFC":HasMFC(folderB)}]
delfolderA
@ -126,7 +126,25 @@ def FindVCVars64(path):
return[allVars,"x64"]
return
# TODO: FindDirectX SDK optimized per version. If prefered SDK not available, just return blank
# FindDirectX SDK, optimized for compatibility per version. If prefered SDK not available, just return blank
# https://archive.org/details/directxsdks
defFindDirectXSDK(version):
ifversion==8:# 2005, Windows 98 compatibility, DirectX 9.0c (October 2006)