forked from saby1101/node-tspsolver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbinding.gyp
More file actions
30 lines (30 loc) · 755 Bytes
/
binding.gyp
File metadata and controls
30 lines (30 loc) · 755 Bytes
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
{
'targets': [
{
'target_name': 'node-tspsolver',
'include_dirs': [
'<!(node -e "require(\'nan\')")'
],
'cflags' : [ '-std=c++11' ],
'sources': [
'src/addon.cpp',
'src/tsp_v8.cpp',
'src/tsp.cpp'
],
'conditions': [
[ 'OS!="win"', {
'cflags+': [ '-std=c++11' ],
'cflags_c+': [ '-std=c++11' ],
'cflags_cc+': [ '-std=c++11' ],
}],
[ 'OS=="mac"', {
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS' : [ '-std=c++11', '-stdlib=libc++' ],
'OTHER_LDFLAGS': [ '-stdlib=libc++' ],
'MACOSX_DEPLOYMENT_TARGET': '10.7'
}
}]
]
}
]
}