OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2012 Google Inc. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'targets': [ |
| 7 { |
| 8 'target_name': 'test_opt_off', |
| 9 'product_name': 'test_opt_off', |
| 10 'type': 'executable', |
| 11 'msvs_settings': { |
| 12 'VCCLCompilerTool': { |
| 13 'Optimization': '0' |
| 14 } |
| 15 }, |
| 16 'sources': [ |
| 17 'hello.cc' |
| 18 ] |
| 19 }, |
| 20 { |
| 21 'target_name': 'test_opt_level_s', |
| 22 'product_name': 'test_opt_level_s', |
| 23 'type': 'executable', |
| 24 'msvs_settings': { |
| 25 'VCCLCompilerTool': { |
| 26 'Optimization': '2' |
| 27 } |
| 28 }, |
| 29 'sources': [ |
| 30 'hello.cc' |
| 31 ] |
| 32 }, |
| 33 { |
| 34 'target_name': 'test_opt_unset', |
| 35 'product_name': 'test_opt_unset', |
| 36 'type': 'executable', |
| 37 'msvs_settings': { |
| 38 'VCCLCompilerTool': { |
| 39 } |
| 40 }, |
| 41 'sources': [ |
| 42 'hello.cc' |
| 43 ] |
| 44 }, |
| 45 { |
| 46 'target_name': 'test_opt_fpo', |
| 47 'product_name': 'test_opt_fpo', |
| 48 'type': 'executable', |
| 49 'msvs_settings': { |
| 50 'VCCLCompilerTool': { |
| 51 'OmitFramePointers': 'true' |
| 52 } |
| 53 }, |
| 54 'sources': [ |
| 55 'hello.cc' |
| 56 ] |
| 57 }, |
| 58 { |
| 59 'target_name': 'test_opt_fpo_off', |
| 60 'product_name': 'test_opt_fpo_off', |
| 61 'type': 'executable', |
| 62 'msvs_settings': { |
| 63 'VCCLCompilerTool': { |
| 64 'OmitFramePointers': 'false' |
| 65 } |
| 66 }, |
| 67 'sources': [ |
| 68 'hello.cc' |
| 69 ] |
| 70 }, |
| 71 { |
| 72 'target_name': 'test_opt_inline_off', |
| 73 'product_name': 'test_opt_inline_off', |
| 74 'type': 'executable', |
| 75 'msvs_settings': { |
| 76 'VCCLCompilerTool': { |
| 77 'InlineFunctionExpansion': '0' |
| 78 } |
| 79 }, |
| 80 'sources': [ |
| 81 'hello.cc' |
| 82 ] |
| 83 }, |
| 84 { |
| 85 'target_name': 'test_opt_inline_manual', |
| 86 'product_name': 'test_opt_inline_manual', |
| 87 'type': 'executable', |
| 88 'msvs_settings': { |
| 89 'VCCLCompilerTool': { |
| 90 'InlineFunctionExpansion': '1' |
| 91 } |
| 92 }, |
| 93 'sources': [ |
| 94 'hello.cc' |
| 95 ] |
| 96 }, |
| 97 { |
| 98 'target_name': 'test_opt_inline_auto', |
| 99 'product_name': 'test_opt_inline_auto', |
| 100 'type': 'executable', |
| 101 'msvs_settings': { |
| 102 'VCCLCompilerTool': { |
| 103 'InlineFunctionExpansion': '2' |
| 104 } |
| 105 }, |
| 106 'sources': [ |
| 107 'hello.cc' |
| 108 ] |
| 109 }, |
| 110 { |
| 111 'target_name': 'test_opt_size', |
| 112 'product_name': 'test_opt_size', |
| 113 'type': 'executable', |
| 114 'msvs_settings': { |
| 115 'VCCLCompilerTool': { |
| 116 'FavorSizeOrSpeed': '1' |
| 117 } |
| 118 }, |
| 119 'sources': [ |
| 120 'hello.cc' |
| 121 ] |
| 122 }, |
| 123 { |
| 124 'target_name': 'test_opt_speed', |
| 125 'product_name': 'test_opt_speed', |
| 126 'type': 'executable', |
| 127 'msvs_settings': { |
| 128 'VCCLCompilerTool': { |
| 129 'FavorSizeOrSpeed': '2' |
| 130 } |
| 131 }, |
| 132 'sources': [ |
| 133 'hello.cc' |
| 134 ] |
| 135 }, |
| 136 { |
| 137 'target_name': 'test_opt_wpo', |
| 138 'product_name': 'test_opt_wpo', |
| 139 'type': 'executable', |
| 140 'msvs_settings': { |
| 141 'VCCLCompilerTool': { |
| 142 'WholeProgramOptimization': 'true' |
| 143 } |
| 144 }, |
| 145 'sources': [ |
| 146 'hello.cc' |
| 147 ] |
| 148 }, |
| 149 ] |
| 150 } |
OLD | NEW |