Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (33 sloc) 801 Bytes
{
'targets': [
{
'target_name': 'binding',
'sources': [ 'binding.cc' ],
'libraries': ['-lzmq'],
'cflags!': ['-fno-exceptions'],
'cflags_cc!': ['-fno-exceptions'],
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
},
# add macports include & lib dirs
'include_dirs': [
'/opt/local/include',
],
'libraries': [
'-L/opt/local/lib'
]
}],
['OS=="linux"', {
'cflags': [
'<!(pkg-config libzmq --cflags 2>/dev/null || echo "")',
],
'libraries': [
'<!(pkg-config libzmq --libs 2>/dev/null || echo "")',
],
}],
]
}
]
}
Something went wrong with that request. Please try again.