mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
install: Write the entire installation manifest at once
Avoid a separate open/close for each file installed. Use a single file(WRITE) instead of a loop with file(APPEND).
This commit is contained in:
@@ -1907,7 +1907,10 @@ protected:
|
||||
std::string Manifest;
|
||||
void ManifestAppend(std::string const& file)
|
||||
{
|
||||
this->Manifest += ";";
|
||||
if (!this->Manifest.empty())
|
||||
{
|
||||
this->Manifest += ";";
|
||||
}
|
||||
this->Manifest += file.substr(this->DestDirLength);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user