parameters: (self, config)
return_statement: return config
docstring: Returns the target-specific configuration.
docstring_summary: Returns the target-specific configuration.
docstring_tokens: Returns the target - specific configuration .
function: def _TargetConfig(self, config):
          """Returns the target-specific configuration."""
          # There's two levels of architecture/platform specification in VS. The
          # first level is globally for the configuration (this is what we consider
          # "the" config at the gyp level, which will be something like 'Debug' or
          # 'Release'), VS2015 and later only use this level
          if int(self.vs_version.short_name) >= 2015:
              return config
          # and a second target-specific configuration, which is an
          # override for the global one. |config| is remapped here to take into
          # account the local target-specific overrides to the global configuration.
          arch = self.GetArch(config)
          if arch == "x64" and not config.endswith("_x64"):
              config += "_x64"
          if arch == "x86" and config.endswith("_x64"):
              config = config.rsplit("_", 1)[0]
          return config
function_tokens: def _TargetConfig ( self , config ) : # There's two levels of architecture/platform specification in VS. The # first level is globally for the configuration (this is what we consider # "the" config at the gyp level, which will be something like 'Debug' or # 'Release'), VS2015 and later only use this level if int ( self . vs_version . short_name ) >= 2015 : return config # and a second target-specific configuration, which is an # override for the global one. |config| is remapped here to take into # account the local target-specific overrides to the global configuration. arch = self . GetArch ( config ) if arch == "x64" and not config . endswith ( "_x64" ) : config += "_x64" if arch == "x86" and config . endswith ( "_x64" ) : config = config . rsplit ( "_" , 1 ) [ 0 ] return config