Permalink
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (50 sloc) 1.19 KB
{
'targets': [
{
'target_name': 'libvirt',
'product_prefix': 'lib',
'sources': [
'src/domain.cc',
'src/error.cc',
'src/event_impl.cc',
'src/hypervisor.cc',
'src/interface.cc',
'src/network.cc',
'src/network_filter.cc',
'src/nlv_async_worker.cc',
'src/node_device.cc',
'src/node_libvirt.cc',
'src/secret.cc',
'src/storage_pool.cc',
'src/storage_volume.cc',
'src/worker.cc'
],
"cflags": [
'-std=c++11',
],
'include_dirs' : [
"<!(node -e \"require('nan')\")"
],
'conditions': [
['OS!="win"', {
'link_settings': {
'libraries': [
'<!@(pkg-config --libs libvirt)'
]
},
'cflags': [
'<!@(pkg-config --cflags libvirt)'
],
}],
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_RTTI': 'YES',
'OTHER_CPLUSPLUSFLAGS' : [ '-std=c++11', '-stdlib=libc++' ],
'OTHER_LDFLAGS': [ '-stdlib=libc++' ],
'MACOSX_DEPLOYMENT_TARGET': "10.7"
}
}]
]
}
]
}