mirror of
https://github.com/zap-proto/node-capnp.git
synced 2026-10-30 15:04:25 +00:00
23 lines
641 B
Python
23 lines
641 B
Python
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'zap',
|
|
'sources': ['src/node-zap/zap.cc'],
|
|
'libraries': ['-lkj', '-lkj-async', '-lcapnp', '-lcapnpc', '-lcapnp-rpc'],
|
|
'cflags_cc': ['-std=c++14'],
|
|
'cflags_cc!': ['-fno-rtti', '-fno-exceptions'],
|
|
'conditions': [
|
|
[ 'OS=="mac"', {
|
|
'xcode_settings': {
|
|
'OTHER_CPLUSPLUSFLAGS' : ['-std=c++14','-stdlib=libc++'],
|
|
'OTHER_LDFLAGS': ['-stdlib=libc++'],
|
|
'GCC_ENABLE_CPP_RTTI': 'YES',
|
|
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
|
|
'MACOSX_DEPLOYMENT_TARGET': '10.7'
|
|
},
|
|
}],
|
|
]
|
|
}
|
|
]
|
|
}
|