-
Notifications
You must be signed in to change notification settings - Fork 9
/
binding.gyp
34 lines (34 loc) · 953 Bytes
/
binding.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
'variables': {
'library%': 'static_library',
},
'targets': [
{
'target_name': 'psutil_lib_osx',
'sources': [
'lib/psutil_lib_osx.cc',
'lib/workers/worker.cc',
'lib/workers/virtual_memory_worker.cc',
'lib/workers/cpu_worker.cc',
'lib/workers/sysconf_worker.cc',
'lib/workers/disk_io_counters_worker.cc',
'lib/workers/disk_partitions_worker.cc',
'lib/workers/network_io_counters_worker.cc',
'lib/workers/swap_memory_worker.cc',
'lib/workers/pid_list_worker.cc',
'lib/workers/disk_usage_worker.cc',
'lib/workers/pid_exists_worker.cc',
'lib/workers/process_worker.cc'
],
'cflags!': [ '-fno-exceptions' ],
'cflags_cc!': [ '-fno-exceptions' ],
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
}
}]
]
}
]
}