| 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': '3', # MultiThreadedDebugDLL |
| 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 }, |
| 28 'defines': [ '_DEBUG' ], |
| 27 }, | 29 }, |
| 28 | 30 |
| 29 'Dart_Release': { | 31 'Dart_Release': { |
| 30 'msvs_settings': { | 32 'msvs_settings': { |
| 31 'VCCLCompilerTool': { | 33 'VCCLCompilerTool': { |
| 32 'Optimization': '2', | 34 'Optimization': '2', |
| 33 'InlineFunctionExpansion': '2', | 35 'InlineFunctionExpansion': '2', |
| 34 'EnableIntrinsicFunctions': 'true', | 36 'EnableIntrinsicFunctions': 'true', |
| 35 'FavorSizeOrSpeed': '0', | 37 'FavorSizeOrSpeed': '0', |
| 36 'ExceptionHandling': '0', | 38 'ExceptionHandling': '0', |
| 37 'RuntimeTypeInfo': 'false', | 39 'RuntimeTypeInfo': 'false', |
| 38 'OmitFramePointers': 'false', | 40 'OmitFramePointers': 'false', |
| 39 'StringPooling': 'true', | 41 'StringPooling': 'true', |
| 42 'RuntimeLibrary': '2', # MultiThreadedDll |
| 40 }, | 43 }, |
| 41 'VCLinkerTool': { | 44 'VCLinkerTool': { |
| 42 'LinkIncremental': '1', | 45 'LinkIncremental': '1', |
| 43 'GenerateDebugInformation': 'true', | 46 'GenerateDebugInformation': 'true', |
| 44 'OptimizeReferences': '2', | 47 'OptimizeReferences': '2', |
| 45 'EnableCOMDATFolding': '2', | 48 'EnableCOMDATFolding': '2', |
| 46 'StackReserveSize': '2097152', | 49 'StackReserveSize': '2097152', |
| 47 }, | 50 }, |
| 48 }, | 51 }, |
| 49 }, | 52 }, |
| 50 }, | 53 }, |
| 51 'defines': [ | 54 'defines': [ |
| 52 '_HAS_EXCEPTIONS=0', # disable C++ exceptions use in C++ std. libs. | 55 '_HAS_EXCEPTIONS=0', # disable C++ exceptions use in C++ std. libs. |
| 53 ], | 56 ], |
| 54 }, | 57 }, |
| 55 } | 58 } |
| OLD | NEW |