forked from norman784/libimobiledevice-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
68 lines (68 loc) · 2.08 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"targets": [
{
"target_name": "imobiledevice",
"sources": [
"src/binding.cc",
"src/idevice/id.h",
"src/idevice/id.c",
"src/idevice/info.h",
"src/idevice/info.c",
"src/idevice/pair.h",
"src/idevice/pair.c",
"src/common/endianness.h",
"src/common/common_binding.h",
"src/common/common_binding.c",
"src/common/utils.h",
"src/common/utils.c",
"src/common/userpref.h",
"src/common/userpref.c",
"src/src/msc_config.h",
"src/src/msc_compat.h"
],
"include_dirs": [
"src",
"<!(node -e \"require('nan')\")"
],
"conditions": [
['OS=="mac"',
{ "defines": [
'HAVE_OPENSSL',
'HAVE_STPCPY'
],
"include_dirs": [
"dependencies/include"
],
"libraries": [
"<(module_root_dir)/dependencies/lib/libplist.3.dylib",
"<(module_root_dir)/dependencies/lib/libimobiledevice.6.dylib"
]
}
],
['OS=="win"',
{ "defines": [
'HAVE_OPENSSL',
'WIN32'
],
'sources' : [
"src/common/libgen.h",
"src/common/libgen.c"
],
"include_dirs": [
"dependencies/x86-windows/include",
"dependencies/libplist/include",
"dependencies/libusbmuxd/include",
"dependencies/libimobiledevice/include"
],
"libraries": [
"<(module_root_dir)/dependencies/x86-windows/lib/*.lib",
"<(module_root_dir)/dependencies/libplist/lib/plist.lib",
"<(module_root_dir)/dependencies/libusbmuxd/lib/usbmuxd.lib",
"<(module_root_dir)/dependencies/libimobiledevice/lib/imobiledevice.lib"
]
}
]
]
}
]
}