parameters: (opt)
docstring: Restrict the compiler detection from the command-line::
  
  		$ waf configure --check-cxx-compiler=gxx
docstring_summary: Restrict the compiler detection from the command-line::
docstring_tokens: Restrict the compiler detection from the command - line ::
function: def options(opt):
  	"""
  	Restrict the compiler detection from the command-line::
  
  		$ waf configure --check-cxx-compiler=gxx
  	"""
  	opt.load_special_tools('cxx_*.py')
  	global cxx_compiler
  	build_platform = Utils.unversioned_sys_platform()
  	possible_compiler_list = cxx_compiler[build_platform in cxx_compiler and build_platform or 'default']
  	test_for_compiler = ' '.join(possible_compiler_list)
  	cxx_compiler_opts = opt.add_option_group('C++ Compiler Options')
  	cxx_compiler_opts.add_option('--check-cxx-compiler', default="%s" % test_for_compiler,
  		help='On this platform (%s) the following C++ Compiler will be checked by default: "%s"' % (build_platform, test_for_compiler),
  		dest="check_cxx_compiler")
  
  	for x in test_for_compiler.split():
  		opt.load('%s' % x)
function_tokens: def options ( opt ) : opt . load_special_tools ( 'cxx_*.py' ) global cxx_compiler build_platform = Utils . unversioned_sys_platform ( ) possible_compiler_list = cxx_compiler [ build_platform in cxx_compiler and build_platform or 'default' ] test_for_compiler = ' ' . join ( possible_compiler_list ) cxx_compiler_opts = opt . add_option_group ( 'C++ Compiler Options' ) cxx_compiler_opts . add_option ( '--check-cxx-compiler' , default = "%s" % test_for_compiler , help = 'On this platform (%s) the following C++ Compiler will be checked by default: "%s"' % ( build_platform , test_for_compiler ) , dest = "check_cxx_compiler" ) for x in test_for_compiler . split ( ) : opt . load ( '%s' % x )