GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — win,build: add arbitrary and binlog options · nodejs/node@d75cb91

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • vcbuild.bat
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎vcbuild.bat‎

Copy file name to clipboardExpand all lines: vcbuild.bat
+8-1Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
@if not defined DEBUG_HELPER @ECHO OFF
22

3+
:: Other scripts rely on the environment variables set in this script, so we
4+
:: explicitly allow them to persist in the calling shell.
5+
endlocal
6+
37
if /i "%1"=="help" goto help
48
if /i "%1"=="--help" goto help
59
if /i "%1"=="-help" goto help
@@ -59,6 +63,7 @@ set no_cctest=
5963
set cctest=
6064
set openssl_no_asm=
6165
set doc=
66+
set extra_msbuild_args=^
6267

6368
:next-arg
6469
if "%1"=="" goto args-done
@@ -132,6 +137,8 @@ if /i "%1"=="no-cctest" set no_cctest=1&goto arg-ok
132137
if /i "%1"=="cctest" set cctest=1&goto arg-ok
133138
if /i "%1"=="openssl-no-asm" set openssl_no_asm=1&goto arg-ok
134139
if /i "%1"=="doc" set doc=1&goto arg-ok
140+
if /i "%1"=="binlog" set extra_msbuild_args=%extra_msbuild_args% /binaryLogger:%config%\node.binlog&goto arg-ok
141+
if /i "%1"=="msbuild_arg" set extra_msbuild_args=%extra_msbuild_args% %2&goto arg-ok-2
135142

136143
echo Error: invalid command line option `%1`.
137144
exit /b 1
@@ -313,7 +320,7 @@ if "%target%"=="Build" (
313320
if defined cctest set target="Build"
314321
)
315322
if "%target%"=="rename_node_bin_win" if exist "%config%\cctest.exe" del "%config%\cctest.exe"
316-
msbuild node.sln %msbcpu% /t:%target% /p:Configuration=%config% /p:Platform=%msbplatform% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo
323+
msbuild node.sln %msbcpu% /t:%target% /p:Configuration=%config% /p:Platform=%msbplatform% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo %extra_msbuild_args%
317324
if errorlevel 1 (
318325
if not defined project_generated echo Building Node with reused solution failed. To regenerate project files use "vcbuild projgen"
319326
goto exit

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.