-
Notifications
You must be signed in to change notification settings - Fork 4
/
binding.gyp
45 lines (45 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
39
40
41
42
43
44
45
{
"targets": [
{
"target_name": "node_cctz",
"sources": [
"cctz/src/civil_time_detail.cc",
"cctz/src/time_tool.cc",
"cctz/src/time_zone_format.cc",
"cctz/src/time_zone_fixed.cc",
"cctz/src/time_zone_if.cc",
"cctz/src/time_zone_impl.cc",
"cctz/src/time_zone_info.cc",
"cctz/src/time_zone_libc.cc",
"cctz/src/time_zone_lookup.cc",
"cctz/src/time_zone_posix.cc",
"src/civiltime.cc",
"src/timezone.cc",
"src/node_cctz.cc"
],
"cflags" : [ "-std=c++11" ],
"include_dirs" : [
"src",
"cctz/include",
"<!(node -e \"require('nan')\")"
],
"conditions": [
[
"OS==\"mac\"",
{
"xcode_settings": {
"OTHER_CPLUSPLUSFLAGS": [
"-std=c++11",
"-stdlib=libc++"
],
"OTHER_LDFLAGS": [
"-stdlib=libc++"
],
"MACOSX_DEPLOYMENT_TARGET":"10.7"
}
}
]
]
}
]
}