-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbinding.gyp
45 lines (45 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
43
44
45
{
"targets": [
{
"target_name": "zorba",
"sources": ["src/addon.cpp", "src/execute.cpp"],
"conditions": [
[
"OS==\"linux\"",
{
"include_dirs": ["/home/shu/local/include"],
"cflags": ["-pthread -fPIC -m64 -fexceptions"],
"cflags_cc": ["-pthread -fPIC -m64 -std=c++11 -fexceptions"],
"libraries": ["-lzorba_simplestore"],
"library_dirs": ["/home/shu/local/lib"],
"ldflags": ["-L/home/shu/local/lib"],
"link_settings": { "libraries": [""] }
}
],
[
"OS==\"win\"",
{
"include_dirs": ["C:\\Program Files (x86)\\Zorba\\include"],
"configurations": {
"Debug": {
"msvs_settings": {
'VCCLCompilerTool': {
'RuntimeLibrary': '3'
},
"VCLinkerTool": {
"AdditionalLibraryDirectories": [
"C:\\Program Files (x86)\\Zorba\\lib"
]
}
}
}
},
"link_settings": {
"libraries": ["zorba2_simplestore.lib"]
}
}
]
]
}
]
}