parameters: (self, *k, **kw)
docstring: initialize boost
  
  	You can pass the same parameters as the command line (without "--boost-"),
  	but the command line has the priority.
docstring_summary: initialize boost
docstring_tokens: initialize boost
function: def check_boost(self, *k, **kw):
  	"""
  	initialize boost
  
  	You can pass the same parameters as the command line (without "--boost-"),
  	but the command line has the priority.
  	"""
  	if not self.env['CXX']:
  		self.fatal('load a c++ compiler first, conf.load("compiler_cxx")')
  
  	params = {'lib': k and k[0] or kw.get('lib', None)}
  	for key, value in self.options.__dict__.items():
  		if not key.startswith('boost_'):
  			continue
  		key = key[len('boost_'):]
  		params[key] = value and value or kw.get(key, '')
  
  	var = kw.get('uselib_store', 'BOOST')
  
  	self.start_msg('Checking boost includes')
  	self.env['INCLUDES_%s' % var] = self.boost_get_includes(**params)
  	self.env.BOOST_VERSION = self.boost_get_version(self.env['INCLUDES_%s' % var])
  	self.end_msg(self.env.BOOST_VERSION)
  	if Logs.verbose:
  		Logs.pprint('CYAN', '	path : %s' % self.env['INCLUDES_%s' % var])
  
  	if not params['lib']:
  		return
  	self.start_msg('Checking boost libs')
  	suffix = params.get('static', 'ST') or ''
  	path, libs = self.boost_get_libs(**params)
  	self.env['%sLIBPATH_%s' % (suffix, var)] = [path]
  	self.env['%sLIB_%s' % (suffix, var)] = libs
  	self.end_msg('ok')
  	if Logs.verbose:
  		Logs.pprint('CYAN', '	path : %s' % path)
  		Logs.pprint('CYAN', '	libs : %s' % libs)
function_tokens: def check_boost ( self , * k , * * kw ) : if not self . env [ 'CXX' ] : self . fatal ( 'load a c++ compiler first, conf.load("compiler_cxx")' ) params = { 'lib' : k and k [ 0 ] or kw . get ( 'lib' , None ) } for key , value in self . options . __dict__ . items ( ) : if not key . startswith ( 'boost_' ) : continue key = key [ len ( 'boost_' ) : ] params [ key ] = value and value or kw . get ( key , '' ) var = kw . get ( 'uselib_store' , 'BOOST' ) self . start_msg ( 'Checking boost includes' ) self . env [ 'INCLUDES_%s' % var ] = self . boost_get_includes ( * * params ) self . env . BOOST_VERSION = self . boost_get_version ( self . env [ 'INCLUDES_%s' % var ] ) self . end_msg ( self . env . BOOST_VERSION ) if Logs . verbose : Logs . pprint ( 'CYAN' , '	path : %s' % self . env [ 'INCLUDES_%s' % var ] ) if not params [ 'lib' ] : return self . start_msg ( 'Checking boost libs' ) suffix = params . get ( 'static' , 'ST' ) or '' path , libs = self . boost_get_libs ( * * params ) self . env [ '%sLIBPATH_%s' % ( suffix , var ) ] = [ path ] self . env [ '%sLIB_%s' % ( suffix , var ) ] = libs self . end_msg ( 'ok' ) if Logs . verbose : Logs . pprint ( 'CYAN' , '	path : %s' % path ) Logs . pprint ( 'CYAN' , '	libs : %s' % libs )