| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 7 'dart_debug_optimization_level%': '2', | |
| 8 }, | |
| 9 'target_defaults': { | |
| 10 'configurations': { | |
| 11 'Dart_Win_Base': { | |
| 12 'abstract': 1, | |
| 13 'msvs_configuration_attributes': { | |
| 14 'OutputDirectory': '<(DEPTH)\\out\\$(ConfigurationName)', | |
| 15 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', | |
| 16 'CharacterSet': '1', | |
| 17 }, | |
| 18 'defines': [ | |
| 19 '_HAS_EXCEPTIONS=0', # disable C++ exceptions use in C++ std. libs. | |
| 20 ], | |
| 21 }, | |
| 22 'Dart_Win_ia32_Base': { | |
| 23 'abstract': 1, | |
| 24 }, | |
| 25 'Dart_Win_x64_Base': { | |
| 26 'abstract': 1, | |
| 27 'msvs_configuration_platform': 'x64', | |
| 28 }, | |
| 29 'Dart_Win_simarm_Base': { | |
| 30 'abstract': 1, | |
| 31 }, | |
| 32 'Dart_Win_simarmv6_Base': { | |
| 33 'abstract': 1, | |
| 34 }, | |
| 35 'Dart_Win_simarmv5te_Base': { | |
| 36 'abstract': 1, | |
| 37 }, | |
| 38 'Dart_Win_simarm64_Base': { | |
| 39 'abstract': 1, | |
| 40 }, | |
| 41 'Dart_Win_simdbc_Base': { | |
| 42 'abstract': 1, | |
| 43 }, | |
| 44 'Dart_Win_simdbc64_Base': { | |
| 45 'abstract': 1, | |
| 46 }, | |
| 47 'Dart_Win_Debug': { | |
| 48 'abstract': 1, | |
| 49 'msvs_settings': { | |
| 50 'VCCLCompilerTool': { | |
| 51 'Optimization': '<(dart_debug_optimization_level)', | |
| 52 'BasicRuntimeChecks': '0', # disable /RTC1 when compiling /O2 | |
| 53 'DebugInformationFormat': '3', | |
| 54 'ExceptionHandling': '0', | |
| 55 'RuntimeTypeInfo': 'false', | |
| 56 'RuntimeLibrary': '1', # /MTd - Multi-threaded, static (debug) | |
| 57 'OmitFramePointers': 'false', | |
| 58 }, | |
| 59 'VCLinkerTool': { | |
| 60 'LinkIncremental': '2', | |
| 61 'GenerateDebugInformation': 'true', | |
| 62 'StackReserveSize': '2097152', | |
| 63 'AdditionalDependencies': [ | |
| 64 'advapi32.lib', | |
| 65 'shell32.lib', | |
| 66 'dbghelp.lib', | |
| 67 ], | |
| 68 }, | |
| 69 }, | |
| 70 # C4351 warns MSVC follows the C++ specification regarding array | |
| 71 # initialization in member initializers. Code that expects the | |
| 72 # specified behavior should silence this warning. | |
| 73 'msvs_disabled_warnings': [4351], | |
| 74 }, | |
| 75 | |
| 76 'Dart_Win_Release': { | |
| 77 'abstract': 1, | |
| 78 'msvs_settings': { | |
| 79 'VCCLCompilerTool': { | |
| 80 'Optimization': '2', | |
| 81 'InlineFunctionExpansion': '2', | |
| 82 'EnableIntrinsicFunctions': 'true', | |
| 83 'FavorSizeOrSpeed': '0', | |
| 84 'ExceptionHandling': '0', | |
| 85 'RuntimeTypeInfo': 'false', | |
| 86 'StringPooling': 'true', | |
| 87 'RuntimeLibrary': '0', # /MT - Multi-threaded, static | |
| 88 'OmitFramePointers': 'false', | |
| 89 }, | |
| 90 'VCLinkerTool': { | |
| 91 'LinkIncremental': '1', | |
| 92 'GenerateDebugInformation': 'true', | |
| 93 'OptimizeReferences': '2', | |
| 94 'EnableCOMDATFolding': '2', | |
| 95 'StackReserveSize': '2097152', | |
| 96 'AdditionalDependencies': [ | |
| 97 'advapi32.lib', | |
| 98 'shell32.lib', | |
| 99 'dbghelp.lib', | |
| 100 ], | |
| 101 }, | |
| 102 }, | |
| 103 # C4351 warns MSVC follows the C++ specification regarding array | |
| 104 # initialization in member initializers. Code that expects the | |
| 105 # specified behavior should silence this warning. | |
| 106 'msvs_disabled_warnings': [4351], | |
| 107 }, | |
| 108 | |
| 109 'Dart_Win_Product': { | |
| 110 'abstract': 1, | |
| 111 'msvs_settings': { | |
| 112 'VCCLCompilerTool': { | |
| 113 'Optimization': '2', | |
| 114 'InlineFunctionExpansion': '2', | |
| 115 'EnableIntrinsicFunctions': 'true', | |
| 116 'EnableFunctionLevelLinking': 'true', | |
| 117 'FavorSizeOrSpeed': '0', | |
| 118 'ExceptionHandling': '0', | |
| 119 'RuntimeTypeInfo': 'false', | |
| 120 'StringPooling': 'true', | |
| 121 'RuntimeLibrary': '0', # /MT - Multi-threaded, static | |
| 122 }, | |
| 123 'VCLinkerTool': { | |
| 124 'LinkIncremental': '1', | |
| 125 'GenerateDebugInformation': 'true', | |
| 126 'OptimizeReferences': '2', | |
| 127 'EnableCOMDATFolding': '2', | |
| 128 'StackReserveSize': '2097152', | |
| 129 'AdditionalDependencies': [ | |
| 130 'advapi32.lib', | |
| 131 'shell32.lib', | |
| 132 'dbghelp.lib', | |
| 133 ], | |
| 134 }, | |
| 135 }, | |
| 136 # C4351 warns MSVC follows the C++ specification regarding array | |
| 137 # initialization in member initializers. Code that expects the | |
| 138 # specified behavior should silence this warning. | |
| 139 'msvs_disabled_warnings': [4351], | |
| 140 }, | |
| 141 }, | |
| 142 }, | |
| 143 } | |
| OLD | NEW |