summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/win/compiler-flags/compile-as-winrt.gyp
blob: 8978e5059de2f26c2231ed19fe108c08b6326afc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (c) 2016 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-winrt',
      'type': 'executable',
      'msvs_windows_sdk_version': 'v10.0',
      'msvs_settings': {
        'VCCLCompilerTool': {
          'AdditionalUsingDirectories': ['$(VCInstallDir)vcpackages;$(WindowsSdkDir)UnionMetadata;%(AdditionalUsingDirectories)'],
          'CompileAsWinRT': 'true'
        }
      },
      'sources': ['compile-as-winrt.cc']
    }
  ]
}