cmGeneratorExpressionEvaluator: Shorten some long lines

Adjust the definitions of getLinkedTargetsContent to avoid long lines.
This commit is contained in:
Brad King 2014-06-30 10:31:01 -04:00
parent 82e91e3487
commit f85ccf23ee
1 changed files with 16 additions and 13 deletions

View File

@ -799,13 +799,14 @@ static const char* targetPropertyTransitiveWhitelist[] = {
#undef TRANSITIVE_PROPERTY_NAME #undef TRANSITIVE_PROPERTY_NAME
std::string getLinkedTargetsContent( std::string
std::vector<cmTarget const*> &targets, getLinkedTargetsContent(
cmTarget const* target, std::vector<cmTarget const*> &targets,
cmTarget const* headTarget, cmTarget const* target,
cmGeneratorExpressionContext *context, cmTarget const* headTarget,
cmGeneratorExpressionDAGChecker *dagChecker, cmGeneratorExpressionContext *context,
const std::string &interfacePropertyName) cmGeneratorExpressionDAGChecker *dagChecker,
const std::string &interfacePropertyName)
{ {
cmGeneratorExpression ge(&context->Backtrace); cmGeneratorExpression ge(&context->Backtrace);
@ -841,12 +842,14 @@ std::string getLinkedTargetsContent(
return linkedTargetsContent; return linkedTargetsContent;
} }
std::string getLinkedTargetsContent(std::vector<cmLinkItem> const &libraries, std::string
cmTarget const* target, getLinkedTargetsContent(
cmTarget const* headTarget, std::vector<cmLinkItem> const &libraries,
cmGeneratorExpressionContext *context, cmTarget const* target,
cmGeneratorExpressionDAGChecker *dagChecker, cmTarget const* headTarget,
const std::string &interfacePropertyName) cmGeneratorExpressionContext *context,
cmGeneratorExpressionDAGChecker *dagChecker,
const std::string &interfacePropertyName)
{ {
std::vector<cmTarget const*> tgts; std::vector<cmTarget const*> tgts;
for (std::vector<cmLinkItem>::const_iterator for (std::vector<cmLinkItem>::const_iterator