Skip to content

Commit e3d2621

Browse files
committed
Alternative for CTRL+C in win build script
1 parent ebfe8f9 commit e3d2621

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

win/build-deps.cmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,10 @@ call :PrintUsage
121121
call cecho.cmd 0 14 "Warning: You will need roughly 8 GB of disk space to proceed `(VS 2015 x64 RelWithDebInfo`)."
122122
echo.
123123

124-
call cecho.cmd black cyan "If you are not ready with the above, press Ctrl-C to abort!"
124+
call cecho.cmd black cyan "If you are not ready with the above: type n in the prompt below. Build proceeds on all other inputs!"
125125

126-
pause
126+
set /p do_continue="> "
127+
if "%do_continue%"==n goto :Finish
127128

128129
:: Cache last used CMake generator for other scripts to use
129130
if defined GEN_SHORTHAND echo GEN_SHORTHAND=%GEN_SHORTHAND%>"%~dp0\BuildDepsCache-%TARGET_ARCH%.txt"

0 commit comments

Comments
 (0)