Home | History | Annotate | Download | only in precompiled
      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': 'hello',
      9       'type': 'executable',
     10       'sources': [
     11         'hello.c',
     12         'hello2.c',
     13         'precomp.c',
     14       ],
     15       'msvs_precompiled_header': 'stdio.h',
     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       },
     26     },
     27   ],
     28 }
     29