From 17270b831c1a9b1883dd0034ea574de4ed429301 Mon Sep 17 00:00:00 2001 From: Chengzhong Wu Date: Tue, 4 Jun 2024 11:03:28 +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. --- vcbuild.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcbuild.bat b/vcbuild.bat index a3c9c0484eccc5..ece0afa649e78c 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -142,7 +142,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