| 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 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2 | 15 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2 |
| 16 'DebugInformationFormat': '3', | 16 'DebugInformationFormat': '3', |
| 17 'ExceptionHandling': '0', | 17 'ExceptionHandling': '0', |
| 18 'RuntimeTypeInfo': 'false', | 18 'RuntimeTypeInfo': 'false', |
| 19 'OmitFramePointers': 'false', | 19 'OmitFramePointers': 'false', |
| 20 'RuntimeLibrary': '1', # /MTd - Multi-threaded, static (debug) |
| 20 }, | 21 }, |
| 21 'VCLinkerTool': { | 22 'VCLinkerTool': { |
| 22 'LinkIncremental': '2', | 23 'LinkIncremental': '2', |
| 23 'GenerateDebugInformation': 'true', | 24 'GenerateDebugInformation': 'true', |
| 24 'StackReserveSize': '2097152', | 25 'StackReserveSize': '2097152', |
| 25 }, | 26 }, |
| 26 }, | 27 }, |
| 27 }, | 28 }, |
| 28 | 29 |
| 29 'Dart_Release': { | 30 'Dart_Release': { |
| 30 'msvs_settings': { | 31 'msvs_settings': { |
| 31 'VCCLCompilerTool': { | 32 'VCCLCompilerTool': { |
| 32 'Optimization': '2', | 33 'Optimization': '2', |
| 33 'InlineFunctionExpansion': '2', | 34 'InlineFunctionExpansion': '2', |
| 34 'EnableIntrinsicFunctions': 'true', | 35 'EnableIntrinsicFunctions': 'true', |
| 35 'FavorSizeOrSpeed': '0', | 36 'FavorSizeOrSpeed': '0', |
| 36 'ExceptionHandling': '0', | 37 'ExceptionHandling': '0', |
| 37 'RuntimeTypeInfo': 'false', | 38 'RuntimeTypeInfo': 'false', |
| 38 'OmitFramePointers': 'false', | 39 'OmitFramePointers': 'false', |
| 39 'StringPooling': 'true', | 40 'StringPooling': 'true', |
| 41 'RuntimeLibrary': '0', # /MT - Multi-threaded, static |
| 40 }, | 42 }, |
| 41 'VCLinkerTool': { | 43 'VCLinkerTool': { |
| 42 'LinkIncremental': '1', | 44 'LinkIncremental': '1', |
| 43 'GenerateDebugInformation': 'true', | 45 'GenerateDebugInformation': 'true', |
| 44 'OptimizeReferences': '2', | 46 'OptimizeReferences': '2', |
| 45 'EnableCOMDATFolding': '2', | 47 'EnableCOMDATFolding': '2', |
| 46 'StackReserveSize': '2097152', | 48 'StackReserveSize': '2097152', |
| 47 }, | 49 }, |
| 48 }, | 50 }, |
| 49 }, | 51 }, |
| 50 }, | 52 }, |
| 51 'defines': [ | 53 'defines': [ |
| 52 '_HAS_EXCEPTIONS=0', # disable C++ exceptions use in C++ std. libs. | 54 '_HAS_EXCEPTIONS=0', # disable C++ exceptions use in C++ std. libs. |
| 53 ], | 55 ], |
| 54 }, | 56 }, |
| 55 } | 57 } |
| OLD | NEW |