summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionEvaluator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-30 14:31:01 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-07 12:52:39 (GMT)
commitf85ccf23eeec08fff46c0788b8ee357b3f5220e4 (patch)
treef7feb52861818d219a483529fa6a6a40704aee08 /Source/cmGeneratorExpressionEvaluator.cxx
parent82e91e34872fd8fa394d14f1e4fac60f9e993a35 (diff)
downloadCMake-f85ccf23eeec08fff46c0788b8ee357b3f5220e4.zip
CMake-f85ccf23eeec08fff46c0788b8ee357b3f5220e4.tar.gz
CMake-f85ccf23eeec08fff46c0788b8ee357b3f5220e4.tar.bz2
cmGeneratorExpressionEvaluator: Shorten some long lines
Adjust the definitions of getLinkedTargetsContent to avoid long lines.
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluator.cxx')
-rw-r--r--Source/cmGeneratorExpressionEvaluator.cxx29
1 files changed, 16 insertions, 13 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.cxx b/Source/cmGeneratorExpressionEvaluator.cxx
index b648eb2..cf112ec 100644
--- a/Source/cmGeneratorExpressionEvaluator.cxx
+++ b/Source/cmGeneratorExpressionEvaluator.cxx
@@ -799,13 +799,14 @@ static const char* targetPropertyTransitiveWhitelist[] = {
#undef TRANSITIVE_PROPERTY_NAME
-std::string getLinkedTargetsContent(
- std::vector<cmTarget const*> &targets,
- cmTarget const* target,
- cmTarget const* headTarget,
- cmGeneratorExpressionContext *context,
- cmGeneratorExpressionDAGChecker *dagChecker,
- const std::string &interfacePropertyName)
+std::string
+getLinkedTargetsContent(
+ std::vector<cmTarget const*> &targets,
+ cmTarget const* target,
+ cmTarget const* headTarget,
+ cmGeneratorExpressionContext *context,
+ cmGeneratorExpressionDAGChecker *dagChecker,
+ const std::string &interfacePropertyName)
{
cmGeneratorExpression ge(&context->Backtrace);
@@ -841,12 +842,14 @@ std::string getLinkedTargetsContent(
return linkedTargetsContent;
}
-std::string getLinkedTargetsContent(std::vector<cmLinkItem> const &libraries,
- cmTarget const* target,
- cmTarget const* headTarget,
- cmGeneratorExpressionContext *context,
- cmGeneratorExpressionDAGChecker *dagChecker,
- const std::string &interfacePropertyName)
+std::string
+getLinkedTargetsContent(
+ std::vector<cmLinkItem> const &libraries,
+ cmTarget const* target,
+ cmTarget const* headTarget,
+ cmGeneratorExpressionContext *context,
+ cmGeneratorExpressionDAGChecker *dagChecker,
+ const std::string &interfacePropertyName)
{
std::vector<cmTarget const*> tgts;
for (std::vector<cmLinkItem>::const_iterator