OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2013 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_ltcg_off', |
| 9 'type': 'executable', |
| 10 'msvs_settings': { |
| 11 'VCCLCompilerTool': { |
| 12 'WholeProgramOptimization': 'false', |
| 13 }, |
| 14 'VCLinkerTool': { |
| 15 'LinkTimeCodeGeneration': '0', |
| 16 }, |
| 17 }, |
| 18 'sources': [ |
| 19 'inline_test.h', |
| 20 'inline_test.cc', |
| 21 'inline_test_main.cc', |
| 22 ], |
| 23 }, |
| 24 { |
| 25 'target_name': 'test_ltcg_on', |
| 26 'type': 'executable', |
| 27 'msvs_settings': { |
| 28 'VCCLCompilerTool': { |
| 29 'WholeProgramOptimization': 'true', # /GL |
| 30 }, |
| 31 'VCLinkerTool': { |
| 32 'LinkTimeCodeGeneration': '1', # /LTCG |
| 33 }, |
| 34 }, |
| 35 'sources': [ |
| 36 'inline_test.h', |
| 37 'inline_test.cc', |
| 38 'inline_test_main.cc', |
| 39 ], |
| 40 }, |
| 41 ] |
| 42 } |
OLD | NEW |