Permalink
Browse files

Merge e7326f2 into 55ff97a

  • Loading branch information...
yumiaosg committed Jan 12, 2019
2 parents 55ff97a + e7326f2 commit 97b9ff2f4792105131740073f424a29ea96fc261
Showing with 9 additions and 2 deletions.
  1. +9 −2 src/engine/SCons/Tool/MSCommon/vc.py
@@ -362,8 +362,15 @@ def get_installed_vcs():
if VC_DIR:
debug('found VC %s' % ver)
# check to see if the x86 or 64 bit compiler is in the bin dir
if (os.path.exists(os.path.join(VC_DIR, r'bin\cl.exe'))
or os.path.exists(os.path.join(VC_DIR, r'bin\amd64\cl.exe'))):
found_cl = False
for dir,dirs,files in os.walk(VC_DIR):
for f in files:
if f == "cl.exe":
found_cl = True
break
if found_cl:
break
if found_cl:
installed_versions.append(ver)
else:
debug('find_vc_pdir no cl.exe found %s' % ver)

0 comments on commit 97b9ff2

Please sign in to comment.