blob: 44d8ad36a71cccc6d22988772d4be2429f790c75 [file] [log] [blame]
# Copyright (c) 2014 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'sse_extensions',
'type': 'executable',
'msvs_settings': {
'VCCLCompilerTool': {
'EnableEnhancedInstructionSet': '1', # StreamingSIMDExtensions
}
},
'sources': ['enable-enhanced-instruction-set.cc'],
},
{
'target_name': 'sse2_extensions',
'type': 'executable',
'msvs_settings': {
'VCCLCompilerTool': {
'EnableEnhancedInstructionSet': '2', # StreamingSIMDExtensions2
}
},
'sources': ['enable-enhanced-instruction-set.cc'],
},
],
'conditions': [
['MSVS_VERSION[0:4]>"2010"', {
'targets': [
{
'target_name': 'avx_extensions',
'type': 'executable',
'msvs_settings': {
'VCCLCompilerTool': {
'EnableEnhancedInstructionSet': '3', # AdvancedVectorExtensions
}
},
'sources': ['enable-enhanced-instruction-set.cc'],
},
{
'target_name': 'no_extensions',
'type': 'executable',
'msvs_settings': {
'VCCLCompilerTool': {
'EnableEnhancedInstructionSet': '4', # NoExtensions
}
},
'sources': ['enable-enhanced-instruction-set.cc'],
},
],
}],
],
}