forked from slimm609/node-libxml-xsd
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcommon.gypi
More file actions
23 lines (23 loc) · 690 Bytes
/
common.gypi
File metadata and controls
23 lines (23 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# imitation of this https://github.com/TooTallNate/node-vorbis/blob/master/common.gypi
{
'variables': {
'node_xmljs': '<!(node -p -e "require(\'path\').dirname(require.resolve(\'libxmljs-mt\'))")',
'xmljs_include_dirs': [
'<(node_xmljs)/src/',
'<(node_xmljs)/vendor/libxml/include',
'<(node_xmljs)/vendor/libxml.conf/include'
],
'conditions': [
['OS=="win"', {
'xmljs_libraries': [
'<(node_xmljs)/build/$(Configuration)/xmljs.lib'
],
}, {
'xmljs_libraries': [
'<(node_xmljs)/build/$(BUILDTYPE)/xmljs.node',
'-Wl,-rpath,<(node_xmljs)/build/$(BUILDTYPE)'
],
}],
],
},
}