OLD | NEW |
1 # Copyright (c) 2011 Google Inc. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'hello', | 8 'target_name': 'hello', |
9 'type': 'executable', | 9 'type': 'executable', |
10 'sources': [ | 10 'sources': [ |
11 'hello.c', | 11 'hello.c', |
12 'hello2.c', | 12 'hello2.c', |
13 'precomp.c', | 13 'precomp.c', |
14 ], | 14 ], |
15 'msvs_precompiled_header': 'stdio.h', | 15 'msvs_precompiled_header': 'stdio.h', |
16 'msvs_precompiled_source': 'precomp.c', | 16 'msvs_precompiled_source': 'precomp.c', |
| 17 |
| 18 # Required so that the printf actually causes a build failure |
| 19 # if the pch isn't included. |
| 20 'msvs_settings': { |
| 21 'VCCLCompilerTool': { |
| 22 'WarningLevel': '3', |
| 23 'WarnAsError': 'true', |
| 24 }, |
| 25 }, |
17 }, | 26 }, |
18 ], | 27 ], |
19 } | 28 } |
OLD | NEW |