From 76f3bb3460d888be69e9aa86abaf658c8b537c57 Mon Sep 17 00:00:00 2001 From: Chengzhong Wu Date: Thu, 6 Jun 2024 11:13:17 +0100 Subject: [PATCH] build: generate binlog in out directories Directories link `Release\` will be created as a junction to `out\Release` when build completes. When binlog was written to `Release\` before the junction is created, the build will fail for unable to create junction when directory `Release\` already exists. PR-URL: https://github.com/nodejs/node/pull/53325 Reviewed-By: Stefan Stojanovic Reviewed-By: Luigi Pinca --- vcbuild.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcbuild.bat b/vcbuild.bat index 1970a4212fdb5a..01c1102343d64c 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -139,7 +139,7 @@ if /i "%1"=="cctest" set cctest=1&goto arg-ok if /i "%1"=="openssl-no-asm" set openssl_no_asm=1&goto arg-ok if /i "%1"=="no-shared-roheap" set no_shared_roheap=1&goto arg-ok if /i "%1"=="doc" set doc=1&goto arg-ok -if /i "%1"=="binlog" set extra_msbuild_args=/binaryLogger:%config%\node.binlog&goto arg-ok +if /i "%1"=="binlog" set extra_msbuild_args=/binaryLogger:out\%config%\node.binlog&goto arg-ok echo Error: invalid command line option `%1`. exit /b 1