mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
{
|
|
'conditions': [
|
|
['target_arch=="ia32"', {
|
|
'rules': [
|
|
{
|
|
'rule_name': 'Assemble',
|
|
'extension': 'asm',
|
|
'inputs': [],
|
|
'outputs': [
|
|
'<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj',
|
|
],
|
|
'action': [
|
|
'ml.exe',
|
|
'/Zi',
|
|
'/safeseh',
|
|
'/Fo', '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj',
|
|
'/c', '<(RULE_INPUT_PATH)',
|
|
],
|
|
'process_outputs_as_sources': 0,
|
|
'message': 'Assembling <(RULE_INPUT_PATH) to <(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj.',
|
|
}
|
|
],
|
|
}, 'target_arch=="x64"', {
|
|
'rules': [
|
|
{
|
|
'rule_name': 'Assemble',
|
|
'extension': 'asm',
|
|
'inputs': [],
|
|
'outputs': [
|
|
'<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj',
|
|
],
|
|
'action': [
|
|
'ml64.exe',
|
|
'/Zi',
|
|
'/Fo', '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj',
|
|
'/c', '<(RULE_INPUT_PATH)',
|
|
],
|
|
'process_outputs_as_sources': 0,
|
|
'message': 'Assembling <(RULE_INPUT_PATH) to <(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj.',
|
|
}
|
|
],
|
|
}],
|
|
],
|
|
}
|
|
|