| OLD | NEW |
| 1 # Copyright (c) 2012 Google Inc. All rights reserved. | 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 | 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': 'with_resources', | 8 'target_name': 'with_resources', |
| 9 'type': 'executable', | 9 'type': 'executable', |
| 10 'msvs_settings': { | 10 'msvs_settings': { |
| 11 'VCCLCompilerTool': { | 11 'VCCLCompilerTool': { |
| 12 'DebugInformationFormat': '3', | 12 'DebugInformationFormat': '3', |
| 13 }, | 13 }, |
| 14 'VCLinkerTool': { | 14 'VCLinkerTool': { |
| 15 'GenerateDebugInformation': 'true', | 15 'GenerateDebugInformation': 'true', |
| 16 }, | 16 }, |
| 17 'VCResourceCompilerTool': { | 17 'VCResourceCompilerTool': { |
| 18 'Culture' : '1033', | 18 'Culture' : '1033', |
| 19 }, | 19 }, |
| 20 }, | 20 }, |
| 21 'sources': [ | 21 'sources': [ |
| 22 'hello.cpp', | 22 'hello.cpp', |
| 23 'hello.rc', | 23 'hello.rc', |
| 24 ], | 24 ], |
| 25 'libraries': [ |
| 26 'kernel32.lib', |
| 27 'user32.lib', |
| 28 ], |
| 25 }, | 29 }, |
| 26 { | 30 { |
| 27 'target_name': 'with_resources_subdir', | 31 'target_name': 'with_resources_subdir', |
| 28 'type': 'executable', | 32 'type': 'executable', |
| 29 'msvs_settings': { | 33 'msvs_settings': { |
| 30 'VCCLCompilerTool': { | 34 'VCCLCompilerTool': { |
| 31 'DebugInformationFormat': '3', | 35 'DebugInformationFormat': '3', |
| 32 }, | 36 }, |
| 33 'VCLinkerTool': { | 37 'VCLinkerTool': { |
| 34 'GenerateDebugInformation': 'true', | 38 'GenerateDebugInformation': 'true', |
| 35 }, | 39 }, |
| 36 'VCResourceCompilerTool': { | 40 'VCResourceCompilerTool': { |
| 37 'Culture' : '1033', | 41 'Culture' : '1033', |
| 38 }, | 42 }, |
| 39 }, | 43 }, |
| 40 'sources': [ | 44 'sources': [ |
| 41 'hello.cpp', | 45 'hello.cpp', |
| 42 'subdir/hello2.rc', | 46 'subdir/hello2.rc', |
| 43 ], | 47 ], |
| 48 'libraries': [ |
| 49 'kernel32.lib', |
| 50 'user32.lib', |
| 51 ], |
| 44 }, | 52 }, |
| 45 { | 53 { |
| 46 'target_name': 'resource_only_dll', | 54 'target_name': 'resource_only_dll', |
| 47 'type': 'shared_library', | 55 'type': 'shared_library', |
| 48 'msvs_settings': { | 56 'msvs_settings': { |
| 49 'VCLinkerTool': { | 57 'VCLinkerTool': { |
| 50 'ResourceOnlyDLL': 'true', | 58 'ResourceOnlyDLL': 'true', |
| 51 }, | 59 }, |
| 52 }, | 60 }, |
| 53 'sources': [ | 61 'sources': [ |
| 54 'hello.rc', | 62 'hello.rc', |
| 55 ], | 63 ], |
| 56 }, | 64 }, |
| 57 ], | 65 ], |
| 58 } | 66 } |
| OLD | NEW |