def _ConvertedToAdditionalOption(tool, msvs_name, flag):
 def _Translate(value, msbuild_settings):
  if (value == 'true'):
   tool_settings = _GetMSBuildToolSettings(msbuild_settings, tool)
   if ('AdditionalOptions' in tool_settings):
    new_flags = ('%s %s' % (tool_settings['AdditionalOptions'], flag))
   else:
    new_flags = flag
   tool_settings['AdditionalOptions'] = new_flags
 _msvs_validators[tool.msvs_name][msvs_name] = _boolean.ValidateMSVS
 _msvs_to_msbuild_converters[tool.msvs_name][msvs_name] = _Translate

def _ConvertedToAdditionalOption ( tool , msvs_name , flag ) : def _Translate ( value , msbuild_settings ) : if ( value == 'true' ) : tool_settings = _GetMSBuildToolSettings ( msbuild_settings , tool ) if ( 'AdditionalOptions' in tool_settings ) : new_flags = ( '%s %s' % ( tool_settings [ 'AdditionalOptions' ] , flag ) ) else : new_flags = flag tool_settings [ 'AdditionalOptions' ] = new_flags _msvs_validators [ tool . msvs_name ] [ msvs_name ] = _boolean . ValidateMSVS _msvs_to_msbuild_converters [ tool . msvs_name ] [ msvs_name ] = _Translate
defines a setting thats handled via a command line option in msbuild .