parameters: (self, config)
return_statement: return defines
docstring: Returns the set of defines that are injected to the defines list based
      on other VS settings.
docstring_summary: Returns the set of defines that are injected to the defines list based
      on other VS settings.
docstring_tokens: Returns the set of defines that are injected to the defines list based on other VS settings .
function: def GetComputedDefines(self, config):
      """Returns the set of defines that are injected to the defines list based
      on other VS settings."""
      config = self._TargetConfig(config)
      defines = []
      if self._ConfigAttrib(['CharacterSet'], config) == '1':
        defines.extend(('_UNICODE', 'UNICODE'))
      if self._ConfigAttrib(['CharacterSet'], config) == '2':
        defines.append('_MBCS')
      defines.extend(self._Setting(
          ('VCCLCompilerTool', 'PreprocessorDefinitions'), config, default=[]))
      return defines
function_tokens: def GetComputedDefines ( self , config ) : config = self . _TargetConfig ( config ) defines = [ ] if self . _ConfigAttrib ( [ 'CharacterSet' ] , config ) == '1' : defines . extend ( ( '_UNICODE' , 'UNICODE' ) ) if self . _ConfigAttrib ( [ 'CharacterSet' ] , config ) == '2' : defines . append ( '_MBCS' ) defines . extend ( self . _Setting ( ( 'VCCLCompilerTool' , 'PreprocessorDefinitions' ) , config , default = [ ] ) ) return defines