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