Add support for C++11 on Mac

This commit is contained in:
Lovell Fuller 2014-08-24 08:53:45 +01:00
parent 40db482fd8
commit b877751b2d

View File

@ -15,7 +15,9 @@
'cflags': ['-fexceptions', '-Wall', '-O3'], 'cflags': ['-fexceptions', '-Wall', '-O3'],
'cflags_cc': ['-std=c++0x', '-fexceptions', '-Wall', '-O3'], 'cflags_cc': ['-std=c++0x', '-fexceptions', '-Wall', '-O3'],
'xcode_settings': { 'xcode_settings': {
'OTHER_CFLAGS': ['-std=c++11', '-fexceptions', '-Wall', '-O3'] 'OTHER_CFLAGS': ['-std=c++11', '-stdlib=libc++', '-fexceptions', '-Wall', '-O3'],
'OTHER_CPLUSPLUSFLAGS': ['-std=c++11', '-stdlib=libc++', '-fexceptions', '-Wall', '-O3'],
'MACOSX_DEPLOYMENT_TARGET': '10.7'
} }
}] }]
} }