Home | History | Annotate | Download | only in compiler-flags
      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_warn_as_error_false',
      9       'type': 'executable',
     10       'msvs_settings': {
     11         'VCCLCompilerTool': {
     12           'WarnAsError': 'false'
     13         }
     14       },
     15       'sources': ['warning-as-error.cc']
     16     },
     17     {
     18       'target_name': 'test_warn_as_error_true',
     19       'type': 'executable',
     20       'msvs_settings': {
     21         'VCCLCompilerTool': {
     22           'WarnAsError': 'true'
     23         }
     24       },
     25       'sources': ['warning-as-error.cc']
     26     },
     27     {
     28       'target_name': 'test_warn_as_error_unset',
     29       'type': 'executable',
     30       'msvs_settings': {
     31         'VCCLCompilerTool': {
     32         }
     33       },
     34       'sources': ['warning-as-error.cc']
     35     },
     36   ]
     37 }
     38