diff --git a/configure.bat b/configure.bat index 972f16594c3..0c22fdccca3 100644 --- a/configure.bat +++ b/configure.bat @@ -83,11 +83,11 @@ set REDO_FILE_PATH=%TOPQTDIR%\config.redo.last set REDO_TMP_FILE_PATH=%TOPQTDIR%\config.redo.in set FRESH_REQUESTED_ARG= if not defined redoing ( - :: The '.' in 'echo.%*' ensures we don't print "echo is off" when no arguments are passed - :: https://devblogs.microsoft.com/oldnewthing/20170802-00/?p=96735 - :: The space before the '>' makes sure that when we have a digit at the end of the args, we - :: don't accidentally concatenate it with the '>' resulting in '0>' or '2>' which redirects - :: into the file from a stream different than stdout, leading to broken or empty content. + rem "The '.' in 'echo.%*' ensures we don't print "echo is off" when no arguments are passed" + rem "https://devblogs.microsoft.com/oldnewthing/20170802-00/?p=96735" + rem "The space before the '>' makes sure that when we have a digit at the end of the args, we" + rem "don't accidentally concatenate it with the '>' resulting in '0>' or '2>' which redirects" + rem "into the file from a stream different than stdout, leading to broken or empty content." echo.%* >"%OPT_TMP_FILE_PATH%" cmake -DIN_FILE="%OPT_TMP_FILE_PATH%" -DOUT_FILE="%OPT_FILE_PATH%" -DIGNORE_ARGS=-top-level -P "%QTSRC%\cmake\QtWriteArgsFile.cmake"