-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbinding.gyp
42 lines (41 loc) · 1.36 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
{
"targets": [
{
"target_name": "native_libnice",
"sources": [
"native/module.cpp",
"native/agent.cpp",
"native/stream.cpp",
"native/helper.cpp",
],
"defines": [
#'DO_DEBUG'
],
'cflags': [
'-std=c++0x',
'<!@(pkg-config --cflags nice glib-2.0)',
'-Wall',
'-g',
],
'ldflags': [
'<!@(pkg-config --libs nice glib-2.0)',
],
'conditions': [
[ 'OS=="mac"', {
"xcode_settings": {
"OTHER_CPLUSPLUSFLAGS" : [
'-std=c++11',
'-stdlib=libc++',
'<!@(pkg-config --cflags nice glib-2.0)'
],
"OTHER_LDFLAGS": [
'-stdlib=libc++',
'<!@(pkg-config --libs nice glib-2.0)'
],
"MACOSX_DEPLOYMENT_TARGET": "10.7",
},
}],
],
}
],
}