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 """Code to validate and convert settings of the Microsoft build tools. | 5 """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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 'CompileAsCpp'])) # /TP | 609 'CompileAsCpp'])) # /TP |
610 _Same(_compile, 'DebugInformationFormat', | 610 _Same(_compile, 'DebugInformationFormat', |
611 _Enumeration(['', # Disabled | 611 _Enumeration(['', # Disabled |
612 'OldStyle', # /Z7 | 612 'OldStyle', # /Z7 |
613 None, | 613 None, |
614 'ProgramDatabase', # /Zi | 614 'ProgramDatabase', # /Zi |
615 'EditAndContinue'])) # /ZI | 615 'EditAndContinue'])) # /ZI |
616 _Same(_compile, 'EnableEnhancedInstructionSet', | 616 _Same(_compile, 'EnableEnhancedInstructionSet', |
617 _Enumeration(['NotSet', | 617 _Enumeration(['NotSet', |
618 'StreamingSIMDExtensions', # /arch:SSE | 618 'StreamingSIMDExtensions', # /arch:SSE |
619 'StreamingSIMDExtensions2'])) # /arch:SSE2 | 619 'StreamingSIMDExtensions2', # /arch:SSE2 |
| 620 'AdvancedVectorExtensions', # /arch:AVX (vs2012+) |
| 621 'NoExtensions',])) # /arch:IA32 (vs2012+) |
620 _Same(_compile, 'ErrorReporting', | 622 _Same(_compile, 'ErrorReporting', |
621 _Enumeration(['None', # /errorReport:none | 623 _Enumeration(['None', # /errorReport:none |
622 'Prompt', # /errorReport:prompt | 624 'Prompt', # /errorReport:prompt |
623 'Queue'], # /errorReport:queue | 625 'Queue'], # /errorReport:queue |
624 new=['Send'])) # /errorReport:send" | 626 new=['Send'])) # /errorReport:send" |
625 _Same(_compile, 'ExceptionHandling', | 627 _Same(_compile, 'ExceptionHandling', |
626 _Enumeration(['false', | 628 _Enumeration(['false', |
627 'Sync', # /EHsc | 629 'Sync', # /EHsc |
628 'Async'], # /EHa | 630 'Async'], # /EHa |
629 new=['SyncCThrow'])) # /EHs | 631 new=['SyncCThrow'])) # /EHs |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1067 _MSVSOnly(_manifest, 'UseUnicodeResponseFiles', _boolean) | 1069 _MSVSOnly(_manifest, 'UseUnicodeResponseFiles', _boolean) |
1068 | 1070 |
1069 # MSBuild options not found in MSVS. | 1071 # MSBuild options not found in MSVS. |
1070 _MSBuildOnly(_manifest, 'EnableDPIAwareness', _boolean) | 1072 _MSBuildOnly(_manifest, 'EnableDPIAwareness', _boolean) |
1071 _MSBuildOnly(_manifest, 'GenerateCategoryTags', _boolean) # /category | 1073 _MSBuildOnly(_manifest, 'GenerateCategoryTags', _boolean) # /category |
1072 _MSBuildOnly(_manifest, 'ManifestFromManagedAssembly', | 1074 _MSBuildOnly(_manifest, 'ManifestFromManagedAssembly', |
1073 _file_name) # /managedassemblyname | 1075 _file_name) # /managedassemblyname |
1074 _MSBuildOnly(_manifest, 'OutputResourceManifests', _string) # /outputresource | 1076 _MSBuildOnly(_manifest, 'OutputResourceManifests', _string) # /outputresource |
1075 _MSBuildOnly(_manifest, 'SuppressDependencyElement', _boolean) # /nodependency | 1077 _MSBuildOnly(_manifest, 'SuppressDependencyElement', _boolean) # /nodependency |
1076 _MSBuildOnly(_manifest, 'TrackerLogDirectory', _folder_name) | 1078 _MSBuildOnly(_manifest, 'TrackerLogDirectory', _folder_name) |
OLD | NEW |