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