Skip to content

Commit

Permalink
build,win: disable node pch with ccache
Browse files Browse the repository at this point in the history
PR-URL: #57224
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
  • Loading branch information
StefanStojanovic authored Feb 27, 2025
1 parent c7cf677 commit 4edc6db
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions node.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,16 @@
'NODE_PLATFORM="win32"',
'_UNICODE=1',
],
'msvs_precompiled_header': 'tools/msvs/pch/node_pch.h',
'msvs_precompiled_source': 'tools/msvs/pch/node_pch.cc',
'sources': [
'<(_msvs_precompiled_header)',
'<(_msvs_precompiled_source)',
],
'conditions': [
['clang != 1 or use_ccache_win != 1', {
'msvs_precompiled_header': 'tools/msvs/pch/node_pch.h',
'msvs_precompiled_source': 'tools/msvs/pch/node_pch.cc',
'sources': [
'<(_msvs_precompiled_header)',
'<(_msvs_precompiled_source)',
],
}]
]
}, { # POSIX
'defines': [ '__POSIX__' ],
}],
Expand Down

0 comments on commit 4edc6db

Please sign in to comment.