parameters: (ctx, option_name, value)
return_statement: return True, "", ""
docstring: Configure all Specs which should be included in Visual Studio
docstring_summary: Configure all Specs which should be included in Visual Studio
docstring_tokens: Configure all Specs which should be included in Visual Studio
function: def verify_specs_to_include_in_project_generation(ctx, option_name, value):	
  	""" Configure all Specs which should be included in Visual Studio """	
  	if not value:
  		if not ctx.is_option_true('ask_for_user_input'): # allow null value for specs list
  			return (True, "", "")
  		if not ctx.is_option_true('generate_vs_projects_automatically'): # allow null value if we're not auto-generating projects
  			return (True, "", "")
  		error = ' [ERROR] - Empty spec list not supported'
  		return (False, "", error)
  		
  	spec_list =  ctx.loaded_specs()
  	spec_input_list = value.strip().replace(' ', '').split(',')	
  	
  	# Get number of occurrences per item in list
  	num_of_occurrences = Counter(spec_input_list)	
  	
  	for input in spec_input_list:
  		# Ensure spec is valid
  		if not input in spec_list:
  			error = ' [ERROR] Unkown spec: "%s".' % input
  			return (False, "", error)
  		# Ensure each spec only exists once in list
  		elif not num_of_occurrences[input] == 1:
  			error = ' [ERROR] Multiple occurrences of "%s" in final spec value: "%s"' % (input, value)
  			return (False, "", error)
  		
  	return True, "", ""
function_tokens: def verify_specs_to_include_in_project_generation ( ctx , option_name , value ) : if not value : if not ctx . is_option_true ( 'ask_for_user_input' ) : # allow null value for specs list return ( True , "" , "" ) if not ctx . is_option_true ( 'generate_vs_projects_automatically' ) : # allow null value if we're not auto-generating projects return ( True , "" , "" ) error = ' [ERROR] - Empty spec list not supported' return ( False , "" , error ) spec_list = ctx . loaded_specs ( ) spec_input_list = value . strip ( ) . replace ( ' ' , '' ) . split ( ',' ) # Get number of occurrences per item in list num_of_occurrences = Counter ( spec_input_list ) for input in spec_input_list : # Ensure spec is valid if not input in spec_list : error = ' [ERROR] Unkown spec: "%s".' % input return ( False , "" , error ) # Ensure each spec only exists once in list elif not num_of_occurrences [ input ] == 1 : error = ' [ERROR] Multiple occurrences of "%s" in final spec value: "%s"' % ( input , value ) return ( False , "" , error ) return True , "" , ""