|
|
@@ -153,7 +153,8 @@ cmCompiledGeneratorExpression::~cmCompiledGeneratorExpression()
|
|
|
}
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
-static std::string stripEmptyListElements(const std::string &input)
|
|
|
+std::string cmGeneratorExpression::StripEmptyListElements(
|
|
|
+ const std::string &input)
|
|
|
{
|
|
|
std::string result;
|
|
|
|
|
|
@@ -223,7 +224,7 @@ static std::string stripAllGeneratorExpressions(const std::string &input)
|
|
|
lastPos = pos;
|
|
|
}
|
|
|
result += input.substr(lastPos);
|
|
|
- return stripEmptyListElements(result);
|
|
|
+ return cmGeneratorExpression::StripEmptyListElements(result);
|
|
|
}
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
@@ -284,7 +285,7 @@ static std::string stripExportInterface(const std::string &input,
|
|
|
}
|
|
|
result += input.substr(lastPos);
|
|
|
|
|
|
- return stripEmptyListElements(result);
|
|
|
+ return cmGeneratorExpression::StripEmptyListElements(result);
|
|
|
}
|
|
|
|
|
|
//----------------------------------------------------------------------------
|