2014-08-12 12:03:04 -07:00
|
|
|
{
|
|
|
|
'targets': [{
|
2015-07-31 08:40:15 -07:00
|
|
|
'target_name': 'libbitcoind',
|
2014-08-12 12:03:04 -07:00
|
|
|
'include_dirs' : [
|
2015-07-14 08:18:22 -07:00
|
|
|
'<!(node -e "require(\'nan\')")',
|
2015-07-29 09:05:01 -07:00
|
|
|
'<!(./platform/os.sh artifacts_dir)/include/libbitcoind/src',
|
|
|
|
'<!(./platform/os.sh artifacts_dir)/include/libbitcoind/depends/<!(./platform/os.sh host)/include',
|
2015-07-29 12:26:34 -07:00
|
|
|
'<!(./platform/os.sh artifacts_dir)/include/libbitcoind/src/leveldb/include'
|
2014-08-12 12:03:04 -07:00
|
|
|
],
|
|
|
|
'sources': [
|
2015-07-31 08:40:15 -07:00
|
|
|
'./src/libbitcoind.cc',
|
2014-08-19 17:35:24 -07:00
|
|
|
],
|
2015-06-08 14:18:06 -07:00
|
|
|
'conditions': [
|
|
|
|
['OS=="mac"', {
|
|
|
|
'xcode_settings': {
|
|
|
|
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
|
2015-06-08 16:08:18 -07:00
|
|
|
'GCC_ENABLE_CPP_RTTI': 'YES',
|
|
|
|
'MACOSX_DEPLOYMENT_TARGET': '10.9'
|
2015-06-08 14:18:06 -07:00
|
|
|
}
|
2015-07-10 14:20:58 -07:00
|
|
|
}
|
2015-06-26 13:03:43 -07:00
|
|
|
]
|
2015-06-08 14:18:06 -07:00
|
|
|
],
|
2014-08-19 17:35:24 -07:00
|
|
|
'cflags_cc': [
|
|
|
|
'-fexceptions',
|
2014-08-20 15:33:03 -07:00
|
|
|
'-frtti',
|
2014-10-07 18:21:21 -07:00
|
|
|
'-fpermissive',
|
2014-08-12 12:03:04 -07:00
|
|
|
],
|
2015-07-09 11:57:46 -07:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
2015-07-29 14:06:40 -07:00
|
|
|
'<!(./platform/os.sh filesystem)',
|
|
|
|
'<!(./platform/os.sh thread)',
|
2015-07-09 11:57:46 -07:00
|
|
|
'<!(./platform/os.sh lib)'
|
|
|
|
],
|
|
|
|
'ldflags': [
|
2015-07-27 11:03:14 -07:00
|
|
|
'-Wl,-rpath,<!(./platform/os.sh osdir)',
|
|
|
|
'<!(./platform/os.sh load_archive)'
|
2015-07-09 11:57:46 -07:00
|
|
|
]
|
|
|
|
}
|
2014-08-12 12:03:04 -07:00
|
|
|
}]
|
|
|
|
}
|