forked from deanmao/node-chimera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
54 lines (54 loc) · 1.41 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
46
47
48
49
50
51
52
53
54
{
'downloader': '<!(node scripts/downloader.js)',
'targets': [
{
'target_name': 'chimera',
'sources': [
'src/top.cc',
'src/cookiejar.cc',
'src/chimera.cc',
'src/browser.cc'
],
'include_dirs': [
'qt/include',
'qt/include/QtCore',
'qt/include/QtGui',
'qt/include/QtNetwork',
'qt/include/QtWebKit',
'qt/include/QtWidgets',
'qt/include/QtWebKitWidgets'
],
'conditions': [
['OS=="mac"', {
'libraries': [
'-framework AppKit',
'../qt/lib/libQt5Gui.dylib',
'../qt/lib/libQt5Core.dylib',
'../qt/lib/libQt5Widgets.dylib',
'../qt/lib/libQt5Network.dylib',
'../qt/lib/libQt5WebKit.dylib',
'../qt/lib/libQtWebKitWidgets.dylib'
],
'xcode_settings': {
'OTHER_LDFLAGS': [
'-Wl,-rpath <(module_root_dir)/qt/lib'
]
}
}],
['OS=="linux"', {
'ldflags': [
'-Wl,-rpath <(module_root_dir)/qt/lib'
],
'libraries': [
'../qt/lib/libQt5Gui.so',
'../qt/lib/libQt5Core.so',
'../qt/lib/libQt5Widgets.so',
'../qt/lib/libQt5Network.so',
'../qt/lib/libQt5WebKit.so',
'../qt/lib/libQt5WebKitWidgets.so'
],
}]
]
}
]
}