This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbinding.gyp
30 lines (30 loc) · 2.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
{
"targets": [
{
"target_name": "bridge",
'include_dirs': ['../AMO-Tools-Suite/include', '../AMO-Tools-Suite/include/calculator', '../AMO-Tools-Suite/include/calculator/losses', '../AMO-Tools-Suite/include/calculator/motor', '../AMO-Tools-Suite/include/calculator/pump', '../AMO-Tools-Suite/include/calculator/util', '../AMO-Tools-Suite/include/phast', '../AMO-Tools-Suite/include/psat'],
'sources' : [
'bridge.cpp',
"<!@(node -e \"console.log(require('fs').readdirSync('../AMO-Tools-Suite/src/').map(f=>'../AMO-Tools-Suite/src/'+f).join(' '))\")",
"<!@(node -e \"console.log(require('fs').readdirSync('../AMO-Tools-Suite/src/calculator/').map(f=>'../AMO-Tools-Suite/src/calculator/'+f).join(' '))\")",
"<!@(node -e \"console.log(require('fs').readdirSync('../AMO-Tools-Suite/src/calculator/losses').map(f=>'../AMO-Tools-Suite/src/calculator/losses/'+f).join(' '))\")",
"<!@(node -e \"console.log(require('fs').readdirSync('../AMO-Tools-Suite/src/calculator/motor').map(f=>'../AMO-Tools-Suite/src/calculator/motor/'+f).join(' '))\")",
"<!@(node -e \"console.log(require('fs').readdirSync('../AMO-Tools-Suite/src/calculator/pump').map(f=>'../AMO-Tools-Suite/src/calculator/pump/'+f).join(' '))\")",
"<!@(node -e \"console.log(require('fs').readdirSync('../AMO-Tools-Suite/src/calculator/util').map(f=>'../AMO-Tools-Suite/src/calculator/util/'+f).join(' '))\")",
"<!@(node -e \"console.log(require('fs').readdirSync('../AMO-Tools-Suite/src/psat/').map(f=>'../AMO-Tools-Suite/src/psat/'+f).join(' '))\")",
"<!@(node -e \"console.log(require('fs').readdirSync('../AMO-Tools-Suite/src/phast/').map(f=>'../AMO-Tools-Suite/src/phast/'+f).join(' '))\")"
],
#"cflags": ["-Wall","-std=c++11"],
"conditions": [
[ 'OS=="mac"', {
"xcode_settings": {
'OTHER_CPLUSPLUSFLAGS' : ['-stdlib=libc++'],
#'OTHER_CPLUSPLUSFLAGS' : ['-std=c++11','-stdlib=libc++'],
'OTHER_LDFLAGS': ['-stdlib=libc++'],
# 'MACOSX_DEPLOYMENT_TARGET': '10.9'
}
}]
]
}
]
}