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 } 49