forked from DoubleSpout/node-threads-a-gogo2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
24 lines (24 loc) · 1020 Bytes
/
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
{
"targets":[
{
"target_name": "threads_a_gogo",
"conditions": [
["OS==\"mac\"", {
"sources": [ "src/threads_a_gogo.cpp","src/queues_a_gogo.cpp"],
"libraries": [],
"cflags": ["-g", "-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE_SOURCE", "-Wall", "-O0", "-Wunused-macros"],
}],
["OS==\"linux\"", {
"sources": [ "src/threads_a_gogo.cpp","src/queues_a_gogo.cpp"],
"libraries": [],
"cflags": ["-g", "-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE_SOURCE", "-Wall", "-O0", "-Wunused-macros"],
}],
["OS==\"win\"", {
"sources": [ "src/threads_a_gogo.cpp","src/queues_a_gogo.cpp", "src/pthreads.2/pthread.c"],
"libraries": ["Ws2_32.lib"],
"cflags": ["/TP",'/J','/E'],
}]
]
}
]
}