Ticket #46: scons_addons_boost.diff
| File scons_addons_boost.diff, 1.5 kB (added by cneumann, 2 years ago) |
|---|
-
Tools/scons-addons/src/SConsAddons/Options/Boost.py
old new 49 49 """ 50 50 help_text = ["Base directory for Boost. include, and lib should be under this directory.", 51 51 "Include directory for boost (if not under base)."] 52 self.baseDirKey = " BoostBaseDir"53 self.incDirKey = " BoostIncludeDir"52 self.baseDirKey = "boost" 53 self.incDirKey = "boost_incdir" 54 54 self.requiredVersion = requiredVersion 55 55 self.libVersionStr = None 56 56 self.lib_names = libs … … 214 214 print " found at: ", self.baseDir 215 215 216 216 def validate(self, env): 217 " Check to make sure that the current settings work and are valid. """ 217 """ Check to make sure that the current settings work and are valid. 218 """ 218 219 # Check that path exist 219 220 # Check that an include file: boost/version.hpp exists 220 221 passed = True … … 449 450 450 451 def dumpSettings(self,env=None): 451 452 "Write out the settings" 452 print " BoostBaseDir:", self.baseDir453 print " BoostIncludeDir:", self.incDir453 print "boost:", self.baseDir 454 print "boost_incdir:", self.incDir 454 455 print "CPPPATH (as flags):", self.found_incs_as_flags 455 456 print "CPPDEFINES:", self.found_defines 456 457 print "LIBS:", self.lib_names
