forked from WiseLibs/better-sqlite3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
38 lines (38 loc) · 1.08 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
{
"includes": [ "deps/common.gypi" ],
"targets": [
{
"target_name": "better_sqlite3",
"include_dirs": ["<!(node -e \"require('nan')\")"],
"dependencies": [
"deps/sqlite3.gyp:sqlite3"
],
'cflags': [
'-std=c++11',
'-Wno-error'
],
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS': [
'-std=c++11',
'-stdlib=libc++'
],
},
"sources": [
"src/objects/database/database.cc",
"src/objects/statement/statement.cc",
"src/objects/transaction/transaction.cc",
"src/workers/database-workers/open.cc",
"src/workers/database-workers/close.cc",
"src/workers/database-workers/checkpoint.cc",
"src/workers/statement-workers/run.cc",
"src/workers/statement-workers/get.cc",
"src/workers/statement-workers/all.cc",
"src/workers/statement-workers/each.cc",
"src/workers/transaction-worker.cc",
"src/binder/binder.cc",
"src/multi-binder/multi-binder.cc",
"src/better_sqlite3.cc"
]
}
]
}