forked from tatsuhiro-t/wslay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwslay.gyp
48 lines (48 loc) · 1.03 KB
/
wslay.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
{
'targets': [
{
'target_name': 'libwslay',
'type': 'static_library',
'dependencies': [
],
'include_dirs': [
'lib/includes'
],
'direct_dependent_settings': {
'include_dirs': [
'lib/includes',
'lib',
],
},
'sources': [
'lib/wslay_net.c',
'lib/wslay_event.h',
'lib/wslay_queue.c',
'lib/wslay_queue.h',
'lib/include/wslay/wslay.h',
'lib/wslay_stack.c',
'lib/wslay_event.c',
'lib/wslay_net.h',
'lib/wslay_frame.h',
'lib/wslayver.h',
'lib/wslay_frame.c',
'lib/wslay_stack.h'
],
'conditions': [
[ 'OS!="win"', { # i.e. POSIX
'cflags': [
'-std=c99',
],
'link_settings': {
'libraries': [ '-lm' ],
'conditions': [
['OS != "android"', {
'ldflags': [ '-pthread' ],
}],
],
},
}],
]
}
]
}