summaryrefslogtreecommitdiff
path: root/deps/gyp/test/win/linker-flags/incremental.gyp
blob: 59f3103253ce8376ee32b227c59329cab7c5564c (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# 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': [
    # Turn on debug information so the incremental linking tables have a
    # visible symbolic name in the disassembly.
    {
      'target_name': 'test_incremental_unset',
      'type': 'executable',
      'msvs_settings': {
        'VCCLCompilerTool': {
          'DebugInformationFormat': '3',
        },
        'VCLinkerTool': {
          'GenerateDebugInformation': 'true',
        },
      },
      'sources': ['hello.cc'],
    },
    {
      'target_name': 'test_incremental_default',
      'type': 'executable',
      'msvs_settings': {
        'VCCLCompilerTool': {
          'DebugInformationFormat': '3',
        },
        'VCLinkerTool': {
          'GenerateDebugInformation': 'true',
          'LinkIncremental': '0',
        },
      },
      'sources': ['hello.cc'],
    },
    {
      'target_name': 'test_incremental_no',
      'type': 'executable',
      'msvs_settings': {
        'VCCLCompilerTool': {
          'DebugInformationFormat': '3',
        },
        'VCLinkerTool': {
          'GenerateDebugInformation': 'true',
          'LinkIncremental': '1',
        },
      },
      'sources': ['hello.cc'],
    },
    {
      'target_name': 'test_incremental_yes',
      'type': 'executable',
      'msvs_settings': {
        'VCCLCompilerTool': {
          'DebugInformationFormat': '3',
        },
        'VCLinkerTool': {
          'GenerateDebugInformation': 'true',
          'LinkIncremental': '2',
        }
      },
      'sources': ['hello.cc'],
    },
  ]
}