I'm creating a custom build of node.js that should not show a console window to the user.
I've tried changing the linker config in the gyp file to
(which should set the linker flag
), but I still get a console window when I run the resulting node.exe binary.
How can I prevent the console window from appearing?
Further investigation reveals that the linker config in node.gyp is not taking effect. The generated node.vcxproj still has
(which is very strange to me, since adding
in the same part of node.gyp did take effect), so the built binary is incorrectly linked.