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_Win_Base': { |
| 12 'abstract': 1, |
| 13 'defines': [ |
| 14 '_HAS_EXCEPTIONS=0', # disable C++ exceptions use in C++ std. libs. |
| 15 ], |
| 16 }, |
| 17 'Dart_Win_ia32_Base': { |
| 18 'abstract': 1, |
| 19 }, |
| 20 'Dart_Win_x64_Base': { |
| 21 'abstract': 1, |
| 22 }, |
| 23 'Dart_Win_simarm_Base': { |
| 24 'abstract': 1, |
| 25 }, |
| 26 'Dart_Win_simmips_Base': { |
| 27 'abstract': 1, |
| 28 }, |
| 29 'Dart_Win_Debug': { |
| 30 'abstract': 1, |
12 'msvs_settings': { | 31 'msvs_settings': { |
13 'VCCLCompilerTool': { | 32 'VCCLCompilerTool': { |
14 'Optimization': '<(dart_debug_optimization_level)', | 33 'Optimization': '<(dart_debug_optimization_level)', |
15 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2 | 34 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2 |
16 'DebugInformationFormat': '3', | 35 'DebugInformationFormat': '3', |
17 'ExceptionHandling': '0', | 36 'ExceptionHandling': '0', |
18 'RuntimeTypeInfo': 'false', | 37 'RuntimeTypeInfo': 'false', |
19 'OmitFramePointers': 'false', | 38 'OmitFramePointers': 'false', |
20 'RuntimeLibrary': '1', # /MTd - Multi-threaded, static (debug) | 39 'RuntimeLibrary': '1', # /MTd - Multi-threaded, static (debug) |
21 }, | 40 }, |
22 'VCLinkerTool': { | 41 'VCLinkerTool': { |
23 'LinkIncremental': '2', | 42 'LinkIncremental': '2', |
24 'GenerateDebugInformation': 'true', | 43 'GenerateDebugInformation': 'true', |
25 'StackReserveSize': '2097152', | 44 'StackReserveSize': '2097152', |
26 'AdditionalDependencies': [ | 45 'AdditionalDependencies': [ |
27 'advapi32.lib', | 46 'advapi32.lib', |
28 'shell32.lib', | 47 'shell32.lib', |
29 'dbghelp.lib', | 48 'dbghelp.lib', |
30 ], | 49 ], |
31 }, | 50 }, |
32 }, | 51 }, |
33 # C4351 warns MSVC follows the C++ specification regarding array | 52 # C4351 warns MSVC follows the C++ specification regarding array |
34 # initialization in member initializers. Code that expects the | 53 # initialization in member initializers. Code that expects the |
35 # specified behavior should silence this warning. | 54 # specified behavior should silence this warning. |
36 'msvs_disabled_warnings': [4351], | 55 'msvs_disabled_warnings': [4351], |
37 }, | 56 }, |
38 | 57 |
39 'Dart_Release': { | 58 'Dart_Win_Release': { |
| 59 'abstract': 1, |
40 'msvs_settings': { | 60 'msvs_settings': { |
41 'VCCLCompilerTool': { | 61 'VCCLCompilerTool': { |
42 'Optimization': '2', | 62 'Optimization': '2', |
43 'InlineFunctionExpansion': '2', | 63 'InlineFunctionExpansion': '2', |
44 'EnableIntrinsicFunctions': 'true', | 64 'EnableIntrinsicFunctions': 'true', |
45 'FavorSizeOrSpeed': '0', | 65 'FavorSizeOrSpeed': '0', |
46 'ExceptionHandling': '0', | 66 'ExceptionHandling': '0', |
47 'RuntimeTypeInfo': 'false', | 67 'RuntimeTypeInfo': 'false', |
48 'OmitFramePointers': 'false', | 68 'OmitFramePointers': 'false', |
49 'StringPooling': 'true', | 69 'StringPooling': 'true', |
(...skipping 11 matching lines...) Expand all Loading... |
61 'dbghelp.lib', | 81 'dbghelp.lib', |
62 ], | 82 ], |
63 }, | 83 }, |
64 }, | 84 }, |
65 # C4351 warns MSVC follows the C++ specification regarding array | 85 # C4351 warns MSVC follows the C++ specification regarding array |
66 # initialization in member initializers. Code that expects the | 86 # initialization in member initializers. Code that expects the |
67 # specified behavior should silence this warning. | 87 # specified behavior should silence this warning. |
68 'msvs_disabled_warnings': [4351], | 88 'msvs_disabled_warnings': [4351], |
69 }, | 89 }, |
70 }, | 90 }, |
71 'defines': [ | |
72 '_HAS_EXCEPTIONS=0', # disable C++ exceptions use in C++ std. libs. | |
73 ], | |
74 }, | 91 }, |
75 } | 92 } |
OLD | NEW |