mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Refactoring: use append functions from cmext/algorithm
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
#include <vector>
|
||||
|
||||
#include <cm/memory>
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalUnixMakefileGenerator3.h"
|
||||
@@ -397,7 +397,7 @@ void cmMakefileLibraryTargetGenerator::WriteDeviceLibraryRules(
|
||||
this->LocalGenerator->CreateCDCommand(
|
||||
commands1, this->Makefile->GetCurrentBinaryDirectory(),
|
||||
this->LocalGenerator->GetBinaryDirectory());
|
||||
cmAppend(commands, commands1);
|
||||
cm::append(commands, commands1);
|
||||
commands1.clear();
|
||||
|
||||
// Compute the list of outputs.
|
||||
@@ -571,7 +571,7 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules(
|
||||
this->LocalGenerator->CreateCDCommand(
|
||||
commands1, this->Makefile->GetCurrentBinaryDirectory(),
|
||||
this->LocalGenerator->GetBinaryDirectory());
|
||||
cmAppend(commands, commands1);
|
||||
cm::append(commands, commands1);
|
||||
commands1.clear();
|
||||
}
|
||||
|
||||
@@ -907,7 +907,7 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules(
|
||||
this->LocalGenerator->CreateCDCommand(
|
||||
commands1, this->Makefile->GetCurrentBinaryDirectory(),
|
||||
this->LocalGenerator->GetBinaryDirectory());
|
||||
cmAppend(commands, commands1);
|
||||
cm::append(commands, commands1);
|
||||
commands1.clear();
|
||||
|
||||
// Add a rule to create necessary symlinks for the library.
|
||||
@@ -921,7 +921,7 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules(
|
||||
this->LocalGenerator->CreateCDCommand(
|
||||
commands1, this->Makefile->GetCurrentBinaryDirectory(),
|
||||
this->LocalGenerator->GetBinaryDirectory());
|
||||
cmAppend(commands, commands1);
|
||||
cm::append(commands, commands1);
|
||||
commands1.clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user