Changeset 19805
- Timestamp:
- 02/13/07 08:32:23 (2 years ago)
- Files:
-
- juggler/trunk/build_windows.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/build_windows.py
r19800 r19805 37 37 pj = os.path.join 38 38 39 EXIT_STATUS_SUCCESS = 0 40 EXIT_STATUS_NO_MSVS = 1 41 EXIT_STATUS_MISSING_DATA_FILE = 2 42 EXIT_STATUS_MSVS_START_ERROR = 3 43 EXIT_STATUS_INVALID_PATH = 4 44 EXIT_STATUS_MISSING_REQ_VALUE = 5 39 EXIT_STATUS_SUCCESS = 0 40 EXIT_STATUS_NO_MSVS = 1 41 EXIT_STATUS_MISSING_DATA_FILE = 2 42 EXIT_STATUS_MSVS_START_ERROR = 3 43 EXIT_STATUS_INVALID_PATH = 4 44 EXIT_STATUS_MISSING_REQ_VALUE = 5 45 EXIT_STATUS_UNSUPPORTED_COMPILER = 6 45 46 46 47 gJugglerDir = os.path.dirname(os.path.abspath(sys.argv[0])) … … 115 116 116 117 if cl_major == 13 and cl_minor < 10: 117 vs_ver = '.NET 2002' 118 printStatus("Visual Studio .NET 2002 is not supported") 119 sys.exit(EXIT_STATUS_UNSUPPORTED_COMPILER) 118 120 elif cl_major == 13 and cl_minor >= 10: 119 121 vs_ver = '.NET 2003' … … 137 139 if not reattempt: 138 140 printStatus("Visual studio not in path, attempting to find...") 139 # Common installation directories for Visual Studio 7.x.141 # Common installation directories for Visual Studio. 140 142 vs_dirs = [r'C:\Program Files\Microsoft Visual Studio 8', 141 r'C:\Program Files\Microsoft Visual Studio .NET 2003', 142 r'C:\Program Files\Microsoft Visual Studio .NET', 143 r'C:\Program Files\Microsoft Visual Studio .NET 2003' 143 144 ] 144 145 … … 176 177 (cl_ver_major, cl_ver_minor) = detectVisualStudioVersion() 177 178 178 # For Visual Studio .NET 200 2 and 2003 (versions 7.0 and 7.1 respectively),179 # we will use the solution inthe vc7 subtree.179 # For Visual Studio .NET 2003 (version 7.1), we will use the solution in 180 # the vc7 subtree. 180 181 if cl_ver_major == 13: 181 182 vc_dir = 'vc7' … … 2371 2372 elif exitEx.code == EXIT_STATUS_MISSING_REQ_VALUE: 2372 2373 status = 'required value not given' 2374 elif exitEx.code == EXIT_STATUS_UNSUPPORTED_COMPILER: 2375 status = 'unsupported compiler' 2373 2376 else: 2374 2377 status = 'error encountered'
