{
  'targets': [
    {
      'target_name': 'eigen',
      'sources': [
        'src/EigenJS.cpp'
      ],
      'include_dirs': [
        'deps',
        "<!(node -e \"require('nan')\")"
      ],
      'conditions': [
        ['OS=="win"', {
          'msvs_settings': {
            'VCCLCompilerTool': {
              'ExceptionHandling': 1,
              'AdditionalOptions': [
                '/GR',
                '/EHsc',
                '/wd4018',
                '/wd4506'
              ]
            }
          }
        }],
        ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
          'cflags_cc!': [ '-fno-rtti', '-fno-exceptions' ]
        }],
        ['OS=="mac"', {
          'xcode_settings': {
            'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
            'GCC_ENABLE_CPP_RTTI': 'YES'
          }
        }]
      ]
    }
  ]
}

@@ -377,123 +377,45 @@
 ': %5B
-%0A                '/GR',%0A                '/EHsc',%0A                '/wd4018',%0A                '/wd4506'%0A             
+ '/GR', '/EHsc', '/wd4018', '/wd4506'
  %5D%0A 
@@ -524,24 +524,62 @@
 olaris%22', %7B%0A
+          'cflags': %5B '-std=c++11' %5D,%0A
           'c
@@ -622,17 +622,16 @@
 eptions'
- 
 %5D%0A      
@@ -738,16 +738,16 @@
  'YES',%0A
-
         
@@ -778,16 +778,187 @@
 ': 'YES'
+,%0A            'OTHER_CPLUSPLUSFLAGS': %5B '-std=c++11', '-stdlib=libc++' %5D,%0A            'OTHER_LDFLAGS': %5B '-stdlib=libc++' %5D,%0A            'MACOSX_DEPLOYMENT_TARGET': '10.7'
 %0A       

support C++11