OLD | NEW |
1 # Copyright (c) 2010 Google Inc. All rights reserved. | 1 # Copyright (c) 2010 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': 'Some_Target', | 8 'target_name': 'Some_Target', |
9 'type': 'executable', | 9 'type': 'executable', |
10 'msvs_settings': { | 10 'msvs_settings': { |
(...skipping 12 matching lines...) Expand all Loading... |
23 'msvs_settings': { | 23 'msvs_settings': { |
24 'VCLinkerTool': { | 24 'VCLinkerTool': { |
25 'OutputFile': '$(OutDir)\\things\\AnotherName.exe', | 25 'OutputFile': '$(OutDir)\\things\\AnotherName.exe', |
26 }, | 26 }, |
27 }, | 27 }, |
28 'sources': [ | 28 'sources': [ |
29 'HeLLo.cc', | 29 'HeLLo.cc', |
30 ], | 30 ], |
31 }, | 31 }, |
32 { | 32 { |
| 33 'target_name': 'Copy_Target', |
| 34 'type': 'none', |
| 35 'copies': [ |
| 36 { |
| 37 'destination': '<(PRODUCT_DIR)', |
| 38 'files': [ |
| 39 '$(VSInstallDir)\\bin\\cl.exe', |
| 40 ], |
| 41 }, |
| 42 ], |
| 43 }, |
| 44 { |
33 'target_name': 'action', | 45 'target_name': 'action', |
34 'type': 'none', | 46 'type': 'none', |
35 'msvs_cygwin_shell': '0', | 47 'msvs_cygwin_shell': '0', |
36 'actions': [ | 48 'actions': [ |
37 { | 49 { |
38 'inputs': [ | 50 'inputs': [ |
39 '$(IntDir)\\SomeInput', | 51 '$(IntDir)\\SomeInput', |
40 '$(OutDir)\\SomeOtherInput', | 52 '$(OutDir)\\SomeOtherInput', |
41 ], | 53 ], |
42 'outputs': [ | 54 'outputs': [ |
43 '<(PRODUCT_DIR)/ReSuLt', | 55 '<(PRODUCT_DIR)/ReSuLt', |
44 '<(SHARED_INTERMEDIATE_DIR)/TempFile', | 56 '<(SHARED_INTERMEDIATE_DIR)/TempFile', |
45 '$(OutDir)\SomethingElse', | 57 '$(OutDir)\SomethingElse', |
46 ], | 58 ], |
47 'action_name': 'Test action', | 59 'action_name': 'Test action', |
48 # Unfortunately, we can't normalize this field because it's | 60 # Unfortunately, we can't normalize this field because it's |
49 # free-form. Fortunately, ninja doesn't inspect it at all (only the | 61 # free-form. Fortunately, ninja doesn't inspect it at all (only the |
50 # inputs and outputs) so it's not mandatory. | 62 # inputs and outputs) so it's not mandatory. |
51 'action': [], | 63 'action': [], |
52 }, | 64 }, |
53 ], | 65 ], |
54 }, | 66 }, |
55 ], | 67 ], |
56 } | 68 } |
OLD | NEW |