mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-08 23:44:00 +03:00
Makefiles: Inline only use of method
This commit is contained in:
1 parent
b0301db23b
commit
2a49d86d5d
2 files changed
+3
-9
No files matched your search
@@ -1217,13 +1217,6 @@ void cmMakefileTargetGenerator::WriteObjectsVariable(
|
||||
<< "\n";
|
||||
}
|
||||
|
||||
void cmMakefileTargetGenerator::WriteObjectsString(std::string& buildObjs)
|
||||
{
|
||||
std::vector<std::string> objStrings;
|
||||
this->WriteObjectsStrings(objStrings);
|
||||
buildObjs = objStrings[0];
|
||||
}
|
||||
|
||||
class cmMakefileTargetGeneratorObjectStrings
|
||||
{
|
||||
public:
|
||||
@@ -1677,7 +1670,9 @@ void cmMakefileTargetGenerator::CreateObjectLists(
|
||||
}
|
||||
} else if (useLinkScript) {
|
||||
if (!useArchiveRules) {
|
||||
this->WriteObjectsString(buildObjs);
|
||||
std::vector<std::string> objStrings;
|
||||
this->WriteObjectsStrings(objStrings);
|
||||
buildObjs = objStrings[0];
|
||||
}
|
||||
} else {
|
||||
buildObjs = "$(";
|
||||
|
||||
@@ -112,7 +112,6 @@ protected:
|
||||
void WriteObjectsVariable(std::string& variableName,
|
||||
std::string& variableNameExternal,
|
||||
bool useWatcomQuote);
|
||||
void WriteObjectsString(std::string& buildObjs);
|
||||
void WriteObjectsStrings(std::vector<std::string>& objStrings,
|
||||
std::string::size_type limit = std::string::npos);
|
||||
|
||||
|
||||
Reference in new issue
Block a user