OLD | NEW |
1 # Copyright (c) 2012 Google Inc. All rights reserved. | 1 # Copyright (c) 2014 Google Inc. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'test_output_exe', | 8 'target_name': 'test_targetpath_executable', |
9 'type': 'executable', | 9 'type': 'executable', |
| 10 'sources': ['hello.cc'], |
10 'msvs_settings': { | 11 'msvs_settings': { |
11 'VCLinkerTool': { | 12 'VCLinkerTool': { |
12 'OutputFile': '$(OutDir)\\blorp.exe' | 13 'OutputFile': '$(TargetPath)', |
13 }, | 14 }, |
14 }, | 15 }, |
15 'sources': ['hello.cc'], | |
16 }, | 16 }, |
17 { | 17 { |
18 'target_name': 'test_output_exe2', | 18 'target_name': 'test_targetpath_loadable_module', |
19 'type': 'executable', | 19 'type': 'loadable_module', |
| 20 'sources': ['hello.cc'], |
20 'msvs_settings': { | 21 'msvs_settings': { |
21 'VCLinkerTool': { | 22 'VCLinkerTool': { |
22 'OutputFile': '$(OutDir)\\subdir\\blorp.exe' | 23 'OutputFile': '$(TargetPath)', |
23 }, | 24 }, |
24 }, | 25 }, |
25 'sources': ['hello.cc'], | |
26 }, | 26 }, |
27 { | 27 { |
28 'target_name': 'test_output_dll', | 28 'target_name': 'test_targetpath_shared_library', |
29 'type': 'shared_library', | 29 'type': 'loadable_module', |
| 30 'sources': ['hello.cc'], |
30 'msvs_settings': { | 31 'msvs_settings': { |
31 'VCLinkerTool': { | 32 'VCLinkerTool': { |
32 'OutputFile': '$(OutDir)\\blorp.dll' | 33 'OutputFile': '$(TargetPath)', |
33 }, | 34 }, |
34 }, | 35 }, |
35 'sources': ['hello.cc'], | |
36 }, | 36 }, |
37 { | 37 { |
38 'target_name': 'test_output_lib', | 38 'target_name': 'test_targetpath_static_library', |
39 'type': 'static_library', | 39 'type': 'static_library', |
| 40 'sources': ['hello.cc'], |
40 'msvs_settings': { | 41 'msvs_settings': { |
41 'VCLibrarianTool': { | 42 'VCLibrarianTool': { |
42 'OutputFile': '$(OutDir)\\blorp.lib' | 43 'OutputFile': '$(TargetPath)', |
43 }, | 44 }, |
44 }, | 45 }, |
45 'sources': ['hello.cc'], | |
46 }, | 46 }, |
47 { | 47 { |
48 'target_name': 'test_output_lib2', | 48 'target_name': 'test_targetpath_product_extension', |
49 'type': 'static_library', | 49 'type': 'executable', |
| 50 'sources': ['hello.cc'], |
| 51 'product_extension': 'foo', |
50 'msvs_settings': { | 52 'msvs_settings': { |
51 'VCLibrarianTool': { | 53 'VCLinkerTool': { |
52 'OutputFile': '$(OutDir)\\subdir\\blorp.lib' | 54 'OutputFile': '$(TargetPath)', |
53 }, | 55 }, |
54 }, | 56 }, |
55 'sources': ['hello.cc'], | |
56 }, | 57 }, |
57 ] | 58 ] |
58 } | 59 } |
OLD | NEW |