OLD | NEW |
1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'dart_debug_optimization_level%': '2', | 7 'dart_debug_optimization_level%': '2', |
8 }, | 8 }, |
9 'target_defaults': { | 9 'target_defaults': { |
10 'configurations': { | 10 'configurations': { |
11 'Dart_Debug': { | 11 'Dart_Debug': { |
12 'msvs_settings': { | 12 'msvs_settings': { |
13 'VCCLCompilerTool': { | 13 'VCCLCompilerTool': { |
14 'Optimization': '<(dart_debug_optimization_level)', | 14 'Optimization': '<(dart_debug_optimization_level)', |
| 15 'FloatingPointModel': '1', # /fp:strict |
15 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2 | 16 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2 |
16 'DebugInformationFormat': '3', | 17 'DebugInformationFormat': '3', |
17 'ExceptionHandling': '0', | 18 'ExceptionHandling': '0', |
18 'RuntimeTypeInfo': 'false', | 19 'RuntimeTypeInfo': 'false', |
19 'OmitFramePointers': 'false', | 20 'OmitFramePointers': 'false', |
20 'RuntimeLibrary': '1', # /MTd - Multi-threaded, static (debug) | 21 'RuntimeLibrary': '1', # /MTd - Multi-threaded, static (debug) |
21 }, | 22 }, |
22 'VCLinkerTool': { | 23 'VCLinkerTool': { |
23 'LinkIncremental': '2', | 24 'LinkIncremental': '2', |
24 'GenerateDebugInformation': 'true', | 25 'GenerateDebugInformation': 'true', |
25 'StackReserveSize': '2097152', | 26 'StackReserveSize': '2097152', |
26 'AdditionalDependencies': [ | 27 'AdditionalDependencies': [ |
27 'advapi32.lib', | 28 'advapi32.lib', |
28 'shell32.lib', | 29 'shell32.lib', |
29 ], | 30 ], |
30 }, | 31 }, |
31 }, | 32 }, |
32 }, | 33 }, |
33 | 34 |
34 'Dart_Release': { | 35 'Dart_Release': { |
35 'msvs_settings': { | 36 'msvs_settings': { |
36 'VCCLCompilerTool': { | 37 'VCCLCompilerTool': { |
37 'Optimization': '2', | 38 'Optimization': '2', |
| 39 'FloatingPointModel': '1', # /fp:strict |
38 'InlineFunctionExpansion': '2', | 40 'InlineFunctionExpansion': '2', |
39 'EnableIntrinsicFunctions': 'true', | 41 'EnableIntrinsicFunctions': 'true', |
40 'FavorSizeOrSpeed': '0', | 42 'FavorSizeOrSpeed': '0', |
41 'ExceptionHandling': '0', | 43 'ExceptionHandling': '0', |
42 'RuntimeTypeInfo': 'false', | 44 'RuntimeTypeInfo': 'false', |
43 'OmitFramePointers': 'false', | 45 'OmitFramePointers': 'false', |
44 'StringPooling': 'true', | 46 'StringPooling': 'true', |
45 'RuntimeLibrary': '0', # /MT - Multi-threaded, static | 47 'RuntimeLibrary': '0', # /MT - Multi-threaded, static |
46 }, | 48 }, |
47 'VCLinkerTool': { | 49 'VCLinkerTool': { |
48 'LinkIncremental': '1', | 50 'LinkIncremental': '1', |
49 'GenerateDebugInformation': 'true', | 51 'GenerateDebugInformation': 'true', |
50 'OptimizeReferences': '2', | 52 'OptimizeReferences': '2', |
51 'EnableCOMDATFolding': '2', | 53 'EnableCOMDATFolding': '2', |
52 'StackReserveSize': '2097152', | 54 'StackReserveSize': '2097152', |
53 'AdditionalDependencies': [ | 55 'AdditionalDependencies': [ |
54 'advapi32.lib', | 56 'advapi32.lib', |
55 'shell32.lib', | 57 'shell32.lib', |
56 ], | 58 ], |
57 }, | 59 }, |
58 }, | 60 }, |
59 }, | 61 }, |
60 }, | 62 }, |
61 'defines': [ | 63 'defines': [ |
62 '_HAS_EXCEPTIONS=0', # disable C++ exceptions use in C++ std. libs. | 64 '_HAS_EXCEPTIONS=0', # disable C++ exceptions use in C++ std. libs. |
63 ], | 65 ], |
64 }, | 66 }, |
65 } | 67 } |
OLD | NEW |