forked from cdegalitt/libxmljs2-xsd
-
Notifications
You must be signed in to change notification settings - Fork 1
/
binding.gyp
41 lines (41 loc) · 1004 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
38
39
40
41
{
'variables': {
'target_arch%': 'ia32', # build for a 32-bit CPU by default
'xmljs_include_dirs%': [],
'xmljs_libraries%': [],
},
"targets": [
{
"target_name": "node-libxml-xsd",
"sources": [ "src/schema.cc", "src/xml_errors.cc", "src/node_libxml_xsd.cc" ],
"include_dirs": [
"<!(node -e \"require('nan')\")",
'<@(xmljs_include_dirs)'
],
'link_settings': {
'libraries': [
'<@(xmljs_libraries)'
]
},
'default_configuration': 'Release',
'configurations': {
'Debug': {
'defines': [ 'DEBUG', '_DEBUG' ],
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeLibrary': 1 # static debug
}
}
},
'Release': {
'defines': [ 'NDEBUG' ],
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeLibrary': 0 # static release
}
}
}
}
}
]
}