-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbinding.gyp
42 lines (42 loc) · 1.06 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": "bindings",
"include_dirs": [
"<(raptor_prefix)/include/raptor2"
],
"sources": [
"src/bindings.cc",
"src/parser.cc",
"src/parser_wrapper.cc",
"src/serializer.cc",
"src/serializer_wrapper.cc",
"src/statement.cc",
"src/statement_wrapper.cc",
"src/uri.cc",
"src/world.cc",
"src/message.cc"
],
"link_settings": {
"libraries": [ "-lraptor2" ]
},
"conditions": [
[ "OS!='win'", {
"variables": {
"raptor_prefix": "/usr"
},
"cflags_cc": [ "-std=c++11", "-fexceptions" ]
} ],
[ "OS=='mac'", {
"variables": {
"raptor_prefix": "/usr/local"
},
"xcode_settings": {
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
"OTHER_CPLUSPLUSFLAGS": [
"-std=c++11",
"-stdlib=libc++",
"-mmacosx-version-min=10.7"
]
}
} ]
]
} ] }