summaryrefslogtreecommitdiff
path: root/deps/gyp/test/win/compiler-flags/warning-as-error.gyp
blob: d71f26114104f4d73c3020e7a4bc043a920b457c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
 'targets': [
    {
      'target_name': 'test_warn_as_error_false',
      'type': 'executable',
      'msvs_settings': {
        'VCCLCompilerTool': {
          'WarnAsError': 'false'
        }
      },
      'sources': ['warning-as-error.cc']
    },
    {
      'target_name': 'test_warn_as_error_true',
      'type': 'executable',
      'msvs_settings': {
        'VCCLCompilerTool': {
          'WarnAsError': 'true'
        }
      },
      'sources': ['warning-as-error.cc']
    },
    {
      'target_name': 'test_warn_as_error_unset',
      'type': 'executable',
      'msvs_settings': {
        'VCCLCompilerTool': {
        }
      },
      'sources': ['warning-as-error.cc']
    },
  ]
}