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