Changeset 19727

Show
Ignore:
Timestamp:
12/22/06 09:57:45 (2 years ago)
Author:
patrick
Message:

MFT [rev 19726]: Handle the use of Visual C++ Express Edition.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/branches/2.0/buildwin32.py

    r19265 r19727  
    20512051def getVSCmd(): 
    20522052   devenv_cmd = None 
     2053   # devenv is used by the full version of Visual Studio. VCExpress is the 
     2054   # launch command used by Visual C++ Express Edition. 
     2055   cmds = ['devenv.exe', 'VCExpress.exe'] 
     2056 
    20532057   for p in str.split(os.getenv('PATH', ''), os.pathsep): 
    20542058#      print "Searching in", p 
    2055       if os.path.exists(os.path.join(p, 'devenv.exe')): 
    2056          devenv_cmd = os.path.join(p, 'devenv.exe') 
     2059      for c in cmds: 
     2060         cmd = os.path.join(p, c) 
     2061         if os.path.exists(cmd): 
     2062            devenv_cmd = cmd 
     2063            break 
     2064 
     2065      if devenv_cmd is not None: 
    20572066         break 
    20582067