Home | History | Annotate | Download | only in linker-flags
      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     # Verify that 'Profile' option correctly makes it to LINK steup in Ninja
      8     {
      9       'target_name': 'test_profile_true',
     10       'type': 'executable',
     11       'sources': ['hello.cc'],
     12       'msvs_settings': {
     13         'VCCLCompilerTool': {
     14           'DebugInformationFormat': '3'
     15         },
     16         'VCLinkerTool': {
     17           'Profile': 'true',
     18           'GenerateDebugInformation': 'true',
     19         },
     20       },
     21     },
     22     {
     23       'target_name': 'test_profile_false',
     24       'type': 'executable',
     25       'sources': ['hello.cc'],
     26       'msvs_settings': {
     27         'VCCLCompilerTool': {
     28           'DebugInformationFormat': '3'
     29         },
     30         'VCLinkerTool': {
     31           'Profile': 'false',
     32           'GenerateDebugInformation': 'true',
     33         },
     34       },
     35     },
     36     {
     37       'target_name': 'test_profile_default',
     38       'type': 'executable',
     39       'sources': ['hello.cc'],
     40       'msvs_settings': {
     41         'VCCLCompilerTool': {
     42           'DebugInformationFormat': '3'
     43         },
     44         'VCLinkerTool': {
     45           'GenerateDebugInformation': 'true',
     46         },
     47       },
     48     },
     49   ]
     50 }
     51