Changeset 19017
- Timestamp:
- 07/11/06 09:55:36 (2 years ago)
- Files:
-
- juggler/trunk/README-WINDOWS.html (modified) (1 diff)
- juggler/trunk/build_windows.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/README-WINDOWS.html
r18808 r19017 127 127 which the Boost headers will be found. 128 128 </dd> 129 <dt><tt>BOOST_TOOL</tt></dt>130 <dd>131 The name of the Boost Jam toolset used to compile Boost. Generally,132 this will be either <tt>vc7</tt>, <tt>vc71</tt>, or <tt>vc80</tt>, but it133 depends on how Boost was compiled. To determine which toolset was used, look134 at the names of the libraries in <tt>%BOOST_ROOT%\lib</tt>. For example,135 the name of the Boost.Filesystem DLL may be136 <tt>boost_filesystem-<b>vc7</b>-mt-1_31.dll</tt> where the137 <tt>vc7</tt> part of the file name is the value to use for this138 setting.139 140 <blockquote>141 <b>NOTE:</b> There is some inconsistency between the name of the142 toolset specified when running <tt>bjam</tt> to compile and install143 Boost. For example, the name of the Visual C++ 7.1 toolset is144 <tt>vc7_1</tt>, but the compiled libraries names contain the145 substring <tt>vc71</tt>. <i>The value to use is the substring in the146 library name.</i>147 </blockquote>148 </dd>149 129 <dt><tt>BOOST_VERSION</tt></dt> 150 130 <dd> juggler/trunk/build_windows.py
r18980 r19017 151 151 return (cl_ver_major, cl_ver_minor, vc_dir) 152 152 153 def guessBoostToolset(clVerMajor, clVerMinor):154 if clVerMajor == 13 and clVerMinor < 10:155 boost_tool_guess = 'vc7'156 elif clVerMajor == 13 and clVerMinor >= 10:157 boost_tool_guess = 'vc71'158 else:159 boost_tool_guess = 'vc80'160 161 return boost_tool_guess162 163 153 def printStatus(msg): 164 154 ''' … … 198 188 199 189 def getDefaultVars(clVerMajor, clVerMinor): 200 boost_tool_fallback = guessBoostToolset(clVerMajor, clVerMinor)201 202 190 required = [] 203 191 required.append(BuildOption('BOOST_ROOT', … … 208 196 'Directory containing the Boost C++ header tree', 209 197 '')) 210 required.append(BuildOption('BOOST_TOOL',211 'The Boost.Build toolset library name component',212 boost_tool_fallback, False))213 198 required.append(BuildOption('NSPR_ROOT', 'NSPR installation directory', '')) 214 199 required.append(BuildOption('CPPDOM_ROOT', 'CppDOM installation directory', … … 294 279 def postProcessOptions(options): 295 280 os.environ['instprefix'] = options['prefix'].replace('\\', '\\\\') 296 297 # Check for Boost 1.32 Visual C++ toolset names.298 match = re.compile(r'vc-(\d)_(\d)').match(options['BOOST_TOOL'])299 300 if match is not None:301 os.environ['BOOST_TOOL'] = 'vc%s%s' % (match.group(1), match.group(2))302 281 303 282 # If the %JAVA_HOME% setting is a valid directory, add its bin subdirectory
