-
Notifications
You must be signed in to change notification settings - Fork 3
/
binding.gyp
65 lines (65 loc) · 1.44 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"target_defaults": {
"sources": [
"src/NuoJsAddon.cpp",
"src/NuoJsConnection.cpp",
"src/NuoJsDriver.cpp",
"src/NuoJsErrMsg.cpp",
"src/NuoJsJson.cpp",
"src/NuoJsNan.cpp",
"src/NuoJsNanDate.cpp",
"src/NuoJsOptions.cpp",
"src/NuoJsParams.cpp",
"src/NuoJsResultSet.cpp",
"src/NuoJsTypes.cpp",
"src/NuoJsValue.cpp"
]
},
"targets": [
{
"target_name": "nuodb",
"cflags!": [
"-fno-exceptions"
],
"cflags_cc!": [
"-fno-exceptions",
"-Wno-overloaded-virtual"
],
"xcode_settings": {
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
"CLANG_CXX_LIBRARY": "libc++",
"MACOSX_DEPLOYMENT_TARGET": "10.7"
},
"cflags": [
"-g",
"-Wall",
"-Werror",
"-Wextra",
"-Wno-cast-function-type"
],
"cflags_cc": [
"-g",
"-Wall",
"-Werror",
"-Wextra",
"-std=c++14"
],
"variables": {
"nuodb_client_package": "<!(echo ${NUODB_CLIENT_PACKAGE:-${NUODB_HOME:-\"/opt/nuodb\"}})"
},
"include_dirs": [
"src",
"<(nuodb_client_package)/include/",
"<!(node -e \"require('nan')\")"
],
"libraries": [
"-g",
"-ldl",
"-lpthread",
"-Wl,-rpath,<(nuodb_client_package)/lib64",
"-L<(nuodb_client_package)/lib64",
"-lNuoRemote"
]
}
]
}