Home | History | Annotate | Download | only in linker-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_console_ok',
      9       'type': 'executable',
     10       'msvs_settings': {
     11         'VCLinkerTool': {
     12           'SubSystem': '1'
     13         }
     14       },
     15       'sources': ['hello.cc'],
     16     },
     17     {
     18       'target_name': 'test_console_fail',
     19       'type': 'executable',
     20       'msvs_settings': {
     21         'VCLinkerTool': {
     22           'SubSystem': '1'
     23         }
     24       },
     25       'sources': ['subsystem-windows.cc'],
     26     },
     27     {
     28       'target_name': 'test_windows_ok',
     29       'type': 'executable',
     30       'msvs_settings': {
     31         'VCLinkerTool': {
     32           'SubSystem': '2'
     33         }
     34       },
     35       'sources': ['subsystem-windows.cc'],
     36     },
     37     {
     38       'target_name': 'test_windows_fail',
     39       'type': 'executable',
     40       'msvs_settings': {
     41         'VCLinkerTool': {
     42           'SubSystem': '2'
     43         }
     44       },
     45       'sources': ['hello.cc'],
     46     },
     47     {
     48       'target_name': 'test_console_xp',
     49       'type': 'executable',
     50       'msvs_settings': {
     51         'VCLinkerTool': {
     52           'SubSystem': '1',
     53           'MinimumRequiredVersion': '5.01',  # XP.
     54         }
     55       },
     56       'sources': ['hello.cc'],
     57     },
     58     {
     59       'target_name': 'test_windows_xp',
     60       'type': 'executable',
     61       'msvs_settings': {
     62         'VCLinkerTool': {
     63           'SubSystem': '2',
     64           'MinimumRequiredVersion': '5.01',  # XP.
     65         }
     66       },
     67       'sources': ['subsystem-windows.cc'],
     68     },
     69   ]
     70 }
     71