mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-09 23:59:53 -05:00
FASTBuild: fix globbing for large projects
FASTBuild will replace `%1%` with all the glob matches, which might exceed command line limit on Windows. Moreover, we don't need to pass all the matches to the VerifyGlobs.cmake script. Fixes: #27305
This commit is contained in:
committed by
Brad King
parent
b230eb2302
commit
6fd6bfab6f
@@ -1543,8 +1543,8 @@ void cmGlobalFastbuildGenerator::AddGlobCheckExec()
|
||||
FastbuildExecNode globCheck;
|
||||
globCheck.Name = FASTBUILD_GLOB_CHECK_TARGET;
|
||||
globCheck.ExecExecutable = cmSystemTools::GetCMakeCommand();
|
||||
globCheck.ExecArguments = "-P " FASTBUILD_1_INPUT_PLACEHOLDER;
|
||||
globCheck.ExecInput = { this->ConvertToFastbuildPath(globScript) };
|
||||
globCheck.ExecArguments =
|
||||
cmStrCat("-P ", this->ConvertToFastbuildPath(globScript));
|
||||
globCheck.ExecAlways = false;
|
||||
globCheck.ExecUseStdOutAsOutput = false;
|
||||
auto const cache = this->GetCMakeInstance()->GetGlobCacheEntries();
|
||||
|
||||
Reference in New Issue
Block a user