-
Notifications
You must be signed in to change notification settings - Fork 21
/
binding.gyp
104 lines (104 loc) · 3.33 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"targets":[
{
"target_name": "ifile",
"conditions": [
["OS==\"mac\"", {
"sources": ["src/ifile.cpp","src/ifile_class.cpp","src/gzip.cpp",
'src/zlib/adler32.c',
'src/zlib/compress.c',
'src/zlib/crc32.c',
'src/zlib/crc32.h',
'src/zlib/deflate.c',
'src/zlib/deflate.h',
'src/zlib/gzio.c',
'src/zlib/infback.c',
'src/zlib/inffast.c',
'src/zlib/inffast.h',
'src/zlib/inffixed.h',
'src/zlib/inflate.c',
'src/zlib/inflate.h',
'src/zlib/inftrees.c',
'src/zlib/inftrees.h',
'src/zlib/mozzconf.h',
'src/zlib/trees.c',
'src/zlib/trees.h',
'src/zlib/uncompr.c',
'src/zlib/zconf.h',
'src/zlib/zlib.h',
'src/zlib/zutil.c',
'src/zlib/zutil.h'
],
"libraries": [],
"cflags": [],
}],
["OS==\"linux\"", {
"sources": ["src/ifile.cpp","src/ifile_class.cpp","src/gzip.cpp",
'src/zlib/adler32.c',
'src/zlib/compress.c',
'src/zlib/crc32.c',
'src/zlib/crc32.h',
'src/zlib/deflate.c',
'src/zlib/deflate.h',
'src/zlib/gzio.c',
'src/zlib/infback.c',
'src/zlib/inffast.c',
'src/zlib/inffast.h',
'src/zlib/inffixed.h',
'src/zlib/inflate.c',
'src/zlib/inflate.h',
'src/zlib/inftrees.c',
'src/zlib/inftrees.h',
'src/zlib/mozzconf.h',
'src/zlib/trees.c',
'src/zlib/trees.h',
'src/zlib/uncompr.c',
'src/zlib/zconf.h',
'src/zlib/zlib.h',
'src/zlib/zutil.c',
'src/zlib/zutil.h'
],
"libraries": [],
"cflags": [],
}],
["OS==\"win\"", {
"sources": ["src/ifile.cpp","src/ifile_class.cpp","src/gzip.cpp",
'src/zlib/contrib/minizip/ioapi.c',
'src/zlib/contrib/minizip/ioapi.h',
'src/zlib/contrib/minizip/iowin32.c',
'src/zlib/contrib/minizip/iowin32.h',
'src/zlib/contrib/minizip/unzip.c',
'src/zlib/contrib/minizip/unzip.h',
'src/zlib/contrib/minizip/zip.c',
'src/zlib/contrib/minizip/zip.h',
'src/zlib/adler32.c',
'src/zlib/compress.c',
'src/zlib/crc32.c',
'src/zlib/crc32.h',
'src/zlib/deflate.c',
'src/zlib/deflate.h',
'src/zlib/gzio.c',
'src/zlib/infback.c',
'src/zlib/inffast.c',
'src/zlib/inffast.h',
'src/zlib/inffixed.h',
'src/zlib/inflate.c',
'src/zlib/inflate.h',
'src/zlib/inftrees.c',
'src/zlib/inftrees.h',
'src/zlib/mozzconf.h',
'src/zlib/trees.c',
'src/zlib/trees.h',
'src/zlib/uncompr.c',
'src/zlib/zconf.h',
'src/zlib/zlib.h',
'src/zlib/zutil.c',
'src/zlib/zutil.h'
],
"libraries": [],
"cflags": ["/TP",'/J','/E'],
}]
]
}
]
}