-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
37 lines (37 loc) · 969 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
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"targets": [
{
"target_name": "qtquick",
"sources": [ "src/qtquick.cc" ],
"include_dirs": [
"<!(node -e \"require('nan')\")"
],
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'OTHER_CFLAGS': [
'-std=c++11 -stdlib=libc++',
'-mmacosx-version-min=10.7'
],
},
'include_dirs': [
'<(qt_dir)/lib/QtCore.framework/Headers',
'<(qt_dir)/lib/QtGui.framework/Headers',
'<(qt_dir)/lib/QtQml.framework/Headers',
],
'link_settings': {
'libraries': [
"-Wl,-rpath,<(qt_dir)/lib",
'<(qt_dir)/lib/QtCore.framework',
'<(qt_dir)/lib/QtGui.framework',
'<(qt_dir)/lib/QtQml.framework',
],
'mac_framework_dirs': [
'<(qt_dir)/lib',
],
},
}]
]
}
]
}