Generate node.lib from atom.lib and chromiumcontent.dll.lib.
This commit is contained in:
parent
a5bc2fdb44
commit
766347ffae
1 changed files with 32 additions and 0 deletions
32
atom.gyp
32
atom.gyp
|
@ -470,5 +470,37 @@
|
||||||
}, # target helper
|
}, # target helper
|
||||||
],
|
],
|
||||||
}], # OS==Mac
|
}], # OS==Mac
|
||||||
|
['OS=="win"', {
|
||||||
|
'targets': [
|
||||||
|
{
|
||||||
|
'target_name': 'generate_node_lib',
|
||||||
|
'type': 'none',
|
||||||
|
'dependencies': [
|
||||||
|
'<(project_name)',
|
||||||
|
],
|
||||||
|
'actions': [
|
||||||
|
{
|
||||||
|
'action_name': 'Create node.lib',
|
||||||
|
'inputs': [
|
||||||
|
'<(PRODUCT_DIR)/atom.lib',
|
||||||
|
'<(libchromiumcontent_library_dir)/chromiumcontent.dll.lib',
|
||||||
|
],
|
||||||
|
'outputs': [
|
||||||
|
'<(PRODUCT_DIR)/node.lib',
|
||||||
|
],
|
||||||
|
'action': [
|
||||||
|
'lib.exe',
|
||||||
|
'/nologo',
|
||||||
|
# We can't use <(_outputs) here because that escapes the
|
||||||
|
# backslash in the path, which confuses lib.exe.
|
||||||
|
'/OUT:<(PRODUCT_DIR)\\node.lib',
|
||||||
|
'<@(_inputs)',
|
||||||
|
],
|
||||||
|
'msvs_cygwin_shell': 0,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}, # target generate_node_lib
|
||||||
|
],
|
||||||
|
}], # OS==win
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue