OLD | NEW |
1 # Copyright (c) 2012 Google Inc. All rights reserved. | 1 # Copyright (c) 2012 Google Inc. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 r"""Code to validate and convert settings of the Microsoft build tools. | 5 r"""Code to validate and convert settings of the Microsoft build tools. |
6 | 6 |
7 This file contains code to validate and convert settings of the Microsoft | 7 This file contains code to validate and convert settings of the Microsoft |
8 build tools. The function ConvertToMSBuildSettings(), ValidateMSVSSettings(), | 8 build tools. The function ConvertToMSBuildSettings(), ValidateMSVSSettings(), |
9 and ValidateMSBuildSettings() are the entry points. | 9 and ValidateMSBuildSettings() are the entry points. |
10 | 10 |
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 _Same(_compile, 'ShowIncludes', _boolean) # /showIncludes | 585 _Same(_compile, 'ShowIncludes', _boolean) # /showIncludes |
586 _Same(_compile, 'SmallerTypeCheck', _boolean) # /RTCc | 586 _Same(_compile, 'SmallerTypeCheck', _boolean) # /RTCc |
587 _Same(_compile, 'StringPooling', _boolean) # /GF | 587 _Same(_compile, 'StringPooling', _boolean) # /GF |
588 _Same(_compile, 'SuppressStartupBanner', _boolean) # /nologo | 588 _Same(_compile, 'SuppressStartupBanner', _boolean) # /nologo |
589 _Same(_compile, 'TreatWChar_tAsBuiltInType', _boolean) # /Zc:wchar_t | 589 _Same(_compile, 'TreatWChar_tAsBuiltInType', _boolean) # /Zc:wchar_t |
590 _Same(_compile, 'UndefineAllPreprocessorDefinitions', _boolean) # /u | 590 _Same(_compile, 'UndefineAllPreprocessorDefinitions', _boolean) # /u |
591 _Same(_compile, 'UndefinePreprocessorDefinitions', _string_list) # /U | 591 _Same(_compile, 'UndefinePreprocessorDefinitions', _string_list) # /U |
592 _Same(_compile, 'UseFullPaths', _boolean) # /FC | 592 _Same(_compile, 'UseFullPaths', _boolean) # /FC |
593 _Same(_compile, 'WholeProgramOptimization', _boolean) # /GL | 593 _Same(_compile, 'WholeProgramOptimization', _boolean) # /GL |
594 _Same(_compile, 'XMLDocumentationFileName', _file_name) | 594 _Same(_compile, 'XMLDocumentationFileName', _file_name) |
| 595 _Same(_compile, 'CompileAsWinRT', _boolean) # /ZW |
595 | 596 |
596 _Same(_compile, 'AssemblerOutput', | 597 _Same(_compile, 'AssemblerOutput', |
597 _Enumeration(['NoListing', | 598 _Enumeration(['NoListing', |
598 'AssemblyCode', # /FA | 599 'AssemblyCode', # /FA |
599 'All', # /FAcs | 600 'All', # /FAcs |
600 'AssemblyAndMachineCode', # /FAc | 601 'AssemblyAndMachineCode', # /FAc |
601 'AssemblyAndSourceCode'])) # /FAs | 602 'AssemblyAndSourceCode'])) # /FAs |
602 _Same(_compile, 'BasicRuntimeChecks', | 603 _Same(_compile, 'BasicRuntimeChecks', |
603 _Enumeration(['Default', | 604 _Enumeration(['Default', |
604 'StackFrameRuntimeCheck', # /RTCs | 605 'StackFrameRuntimeCheck', # /RTCs |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1087 _MSBuildOnly(_manifest, 'SuppressDependencyElement', _boolean) # /nodependency | 1088 _MSBuildOnly(_manifest, 'SuppressDependencyElement', _boolean) # /nodependency |
1088 _MSBuildOnly(_manifest, 'TrackerLogDirectory', _folder_name) | 1089 _MSBuildOnly(_manifest, 'TrackerLogDirectory', _folder_name) |
1089 | 1090 |
1090 | 1091 |
1091 # Directives for MASM. | 1092 # Directives for MASM. |
1092 # See "$(VCTargetsPath)\BuildCustomizations\masm.xml" for the schema of the | 1093 # See "$(VCTargetsPath)\BuildCustomizations\masm.xml" for the schema of the |
1093 # MSBuild MASM settings. | 1094 # MSBuild MASM settings. |
1094 | 1095 |
1095 # Options that have the same name in MSVS and MSBuild. | 1096 # Options that have the same name in MSVS and MSBuild. |
1096 _Same(_masm, 'UseSafeExceptionHandlers', _boolean) # /safeseh | 1097 _Same(_masm, 'UseSafeExceptionHandlers', _boolean) # /safeseh |
OLD | NEW |