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 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 'StackFrameRuntimeCheck', # /RTCs | 595 'StackFrameRuntimeCheck', # /RTCs |
596 'UninitializedLocalUsageCheck', # /RTCu | 596 'UninitializedLocalUsageCheck', # /RTCu |
597 'EnableFastChecks'])) # /RTC1 | 597 'EnableFastChecks'])) # /RTC1 |
598 _Same(_compile, 'BrowseInformation', | 598 _Same(_compile, 'BrowseInformation', |
599 _Enumeration(['false', | 599 _Enumeration(['false', |
600 'true', # /FR | 600 'true', # /FR |
601 'true'])) # /Fr | 601 'true'])) # /Fr |
602 _Same(_compile, 'CallingConvention', | 602 _Same(_compile, 'CallingConvention', |
603 _Enumeration(['Cdecl', # /Gd | 603 _Enumeration(['Cdecl', # /Gd |
604 'FastCall', # /Gr | 604 'FastCall', # /Gr |
605 'StdCall'])) # /Gz | 605 'StdCall', # /Gz |
| 606 'VectorCall'])) # /Gv |
606 _Same(_compile, 'CompileAs', | 607 _Same(_compile, 'CompileAs', |
607 _Enumeration(['Default', | 608 _Enumeration(['Default', |
608 'CompileAsC', # /TC | 609 'CompileAsC', # /TC |
609 'CompileAsCpp'])) # /TP | 610 'CompileAsCpp'])) # /TP |
610 _Same(_compile, 'DebugInformationFormat', | 611 _Same(_compile, 'DebugInformationFormat', |
611 _Enumeration(['', # Disabled | 612 _Enumeration(['', # Disabled |
612 'OldStyle', # /Z7 | 613 'OldStyle', # /Z7 |
613 None, | 614 None, |
614 'ProgramDatabase', # /Zi | 615 'ProgramDatabase', # /Zi |
615 'EditAndContinue'])) # /ZI | 616 'EditAndContinue'])) # /ZI |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1069 _MSVSOnly(_manifest, 'UseUnicodeResponseFiles', _boolean) | 1070 _MSVSOnly(_manifest, 'UseUnicodeResponseFiles', _boolean) |
1070 | 1071 |
1071 # MSBuild options not found in MSVS. | 1072 # MSBuild options not found in MSVS. |
1072 _MSBuildOnly(_manifest, 'EnableDPIAwareness', _boolean) | 1073 _MSBuildOnly(_manifest, 'EnableDPIAwareness', _boolean) |
1073 _MSBuildOnly(_manifest, 'GenerateCategoryTags', _boolean) # /category | 1074 _MSBuildOnly(_manifest, 'GenerateCategoryTags', _boolean) # /category |
1074 _MSBuildOnly(_manifest, 'ManifestFromManagedAssembly', | 1075 _MSBuildOnly(_manifest, 'ManifestFromManagedAssembly', |
1075 _file_name) # /managedassemblyname | 1076 _file_name) # /managedassemblyname |
1076 _MSBuildOnly(_manifest, 'OutputResourceManifests', _string) # /outputresource | 1077 _MSBuildOnly(_manifest, 'OutputResourceManifests', _string) # /outputresource |
1077 _MSBuildOnly(_manifest, 'SuppressDependencyElement', _boolean) # /nodependency | 1078 _MSBuildOnly(_manifest, 'SuppressDependencyElement', _boolean) # /nodependency |
1078 _MSBuildOnly(_manifest, 'TrackerLogDirectory', _folder_name) | 1079 _MSBuildOnly(_manifest, 'TrackerLogDirectory', _folder_name) |
OLD | NEW |