OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'targets': [ |
| 7 { |
| 8 'target_name': 'Some_Target', |
| 9 'type': 'executable', |
| 10 'msvs_settings': { |
| 11 'VCLinkerTool': { |
| 12 'OutputFile': '<(PRODUCT_DIR)/stuff/AnotherName.exe', |
| 13 }, |
| 14 }, |
| 15 'sources': [ |
| 16 'HeLLo.cc', |
| 17 'blOrP.idl', |
| 18 ], |
| 19 }, |
| 20 { |
| 21 'target_name': 'second', |
| 22 'type': 'executable', |
| 23 'msvs_settings': { |
| 24 'VCLinkerTool': { |
| 25 'OutputFile': '$(OutDir)\\things\\AnotherName.exe', |
| 26 }, |
| 27 }, |
| 28 'sources': [ |
| 29 'HeLLo.cc', |
| 30 ], |
| 31 }, |
| 32 { |
| 33 'target_name': 'action', |
| 34 'type': 'none', |
| 35 'msvs_cygwin_shell': '0', |
| 36 'actions': [ |
| 37 { |
| 38 'inputs': [ |
| 39 '$(IntDir)\\SomeInput', |
| 40 '$(OutDir)\\SomeOtherInput', |
| 41 ], |
| 42 'outputs': [ |
| 43 '<(PRODUCT_DIR)/ReSuLt', |
| 44 '<(SHARED_INTERMEDIATE_DIR)/TempFile', |
| 45 '$(OutDir)\SomethingElse', |
| 46 ], |
| 47 'action_name': 'Test action', |
| 48 # Unfortunately, we can't normalize this field because it's |
| 49 # free-form. Fortunately, ninja doesn't inspect it at all (only the |
| 50 # inputs and outputs) so it's not mandatory. |
| 51 'action': [], |
| 52 }, |
| 53 ], |
| 54 }, |
| 55 ], |
| 56 } |
OLD | NEW |