(self, config)
return {'Win32': 'x86', 'x64': 'x64'}.get(platform, 'x86')
Get architecture based on msvs_configuration_platform and
    msvs_target_platform. Returns either 'x86' or 'x64'.
Get architecture based on msvs_configuration_platform and
    msvs_target_platform. Returns either 'x86' or 'x64'.
Get architecture based on msvs_configuration_platform and msvs_target_platform . Returns either x86 or x64 .
def GetArch(self, config):
    """Get architecture based on msvs_configuration_platform and
    msvs_target_platform. Returns either 'x86' or 'x64'."""
    configuration_platform = self.msvs_configuration_platform.get(config, '')
    platform = self.msvs_target_platform.get(config, '')
    if not platform: # If no specific override, use the configuration's.
      platform = configuration_platform
    # Map from platform to architecture.
    return {'Win32': 'x86', 'x64': 'x64'}.get(platform, 'x86')
def GetArch ( self , config ) : configuration_platform = self . msvs_configuration_platform . get ( config , '' ) platform = self . msvs_target_platform . get ( config , '' ) if not platform : # If no specific override, use the configuration's. platform = configuration_platform # Map from platform to architecture. return { 'Win32' : 'x86' , 'x64' : 'x64' } . get ( platform , 'x86' )