-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathbuild.gyp
34 lines (34 loc) · 822 Bytes
/
build.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
{
'includes': [ 'common.gypi' ],
'targets': [
{
'target_name': 'webserver',
'type': 'executable',
'sources': [
'webserver.cc',
],
'dependencies': [
'./deps/libuv/uv.gyp:libuv',
'./deps/http-parser/http_parser.gyp:http_parser'
],
},
{
'target_name': 'webclient',
'type': 'executable',
'sources': [
'webclient.cc',
],
'dependencies': [
'./deps/libuv/uv.gyp:libuv',
'./deps/http-parser/http_parser.gyp:http_parser'
],
'conditions': [
[ 'OS=="mac"', {
# linking Corefoundation is needed since certain OSX debugging tools
# like Instruments require it for some features
'libraries': [ '-framework CoreFoundation' ]
}],
]
}
],
}