mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
build,win: put all compilation artifacts into out
* Add symlink from Release to out\Release for backward compat PR-URL: https://github.com/nodejs/node/pull/27149 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
parent
7b854959e7
commit
25df3c10f4
6 changed files with 51 additions and 36 deletions
24
node.gypi
24
node.gypi
|
@ -24,36 +24,20 @@
|
|||
},
|
||||
'force_load%': '<(force_load)',
|
||||
},
|
||||
# Putting these explicitly here so not to be dependant on common.gypi.
|
||||
'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ],
|
||||
'xcode_settings': {
|
||||
'WARNING_CFLAGS': [
|
||||
'-Wall',
|
||||
'-Wendif-labels',
|
||||
'-W',
|
||||
'-Wno-unused-parameter',
|
||||
'-Werror=undefined-inline',
|
||||
],
|
||||
},
|
||||
# Relevant only for x86.
|
||||
# Refs: https://docs.microsoft.com/en-us/cpp/build/reference/safeseh-image-has-safe-exception-handlers
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'ImageHasSafeExceptionHandlers': 'false',
|
||||
},
|
||||
},
|
||||
|
||||
'conditions': [
|
||||
[ 'clang==1', {
|
||||
'cflags': [ '-Werror=undefined-inline', ]
|
||||
}],
|
||||
[ 'node_shared=="false"', {
|
||||
[ 'node_shared=="false" and "<(_type)"=="executable"', {
|
||||
'msvs_settings': {
|
||||
'VCManifestTool': {
|
||||
'EmbedManifest': 'true',
|
||||
'AdditionalManifestFiles': 'src/res/node.exe.extra.manifest'
|
||||
}
|
||||
},
|
||||
}, {
|
||||
}],
|
||||
[ 'node_shared=="true"', {
|
||||
'defines': [
|
||||
'NODE_SHARED_MODE',
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue