Home | History | Annotate | Download | only in compiler-flags
      1 # Copyright (c) 2014 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': 'test-floating-point-model-default',
      9       'type': 'executable',
     10       'sources': ['floating-point-model-precise.cc'],
     11     },
     12     {
     13       'target_name': 'test-floating-point-model-precise',
     14       'type': 'executable',
     15       'msvs_settings': {
     16         'VCCLCompilerTool': {
     17           'FloatingPointModel': '0'
     18         }
     19       },
     20       'sources': ['floating-point-model-precise.cc'],
     21     },
     22     {
     23       'target_name': 'test-floating-point-model-strict',
     24       'type': 'executable',
     25       'msvs_settings': {
     26         'VCCLCompilerTool': {
     27           'FloatingPointModel': '1'
     28         }
     29       },
     30       'sources': ['floating-point-model-strict.cc'],
     31     },
     32     {
     33       'target_name': 'test-floating-point-model-fast',
     34       'type': 'executable',
     35       'msvs_settings': {
     36         'VCCLCompilerTool': {
     37           'FloatingPointModel': '2'
     38         }
     39       },
     40       'sources': ['floating-point-model-fast.cc'],
     41     },
     42   ]
     43 }
     44