summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/win/compiler-flags/compile-as-managed.gyp
blob: 3bacbbc135e63b4c910b05915f14041d0ecdd2f7 (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
# Copyright (c) 2015 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-compile-as-managed',
      'type': 'executable',
      'msvs_settings': {
        'VCCLCompilerTool': {
          'CompileAsManaged': 'true',
          'ExceptionHandling': '0' # /clr is incompatible with /EHs
        }
      },
      'sources': ['compile-as-managed.cc'],
    },
    {
      'target_name': 'test-compile-as-unmanaged',
      'type': 'executable',
      'msvs_settings': {
        'VCCLCompilerTool': {
          'CompileAsManaged': 'false',
        }
      },
      'sources': ['compile-as-managed.cc'],
    },
  ]
}