Changeset 19726

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

Handle the use of Visual C++ Express Edition.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/build_windows.py

    r19530 r19726  
    148148               printStatus("  does not exist.") 
    149149            else: 
    150                printStatus("   Existings.  Using: %s"%d) 
     150               printStatus("   Using: %s"%d) 
    151151               printStatus("      " + d) 
    152152               vs_path = [os.path.join(d, r'Common7\IDE'), 
     
    22502250def getVSCmd(): 
    22512251   devenv_cmd = None 
     2252   # devenv is used by the full version of Visual Studio. VCExpress is the 
     2253   # launch command used by Visual C++ Express Edition. 
     2254   cmds = ['devenv.exe', 'VCExpress.exe'] 
     2255 
    22522256   for p in str.split(os.getenv('PATH', ''), os.pathsep): 
    22532257#      print "Searching in", p 
    2254       if os.path.exists(os.path.join(p, 'devenv.exe')): 
    2255          devenv_cmd = os.path.join(p, 'devenv.exe') 
     2258      for c in cmds: 
     2259         cmd = os.path.join(p, c) 
     2260         if os.path.exists(cmd): 
     2261            devenv_cmd = cmd 
     2262            break 
     2263 
     2264      if devenv_cmd is not None: 
    22562265         break 
    22572266