diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-11-05 13:48:42 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-01-08 19:38:16 (GMT) |
commit | bf5ece51c3827dc05018128fefe8270da88cfefb (patch) | |
tree | 1e12a12d0348c68446748e72fa5c49274b53cf9c /Source/cmGeneratorExpression.cxx | |
parent | a9f1bf438054227e989ad1706b785b978e18455c (diff) | |
download | CMake-bf5ece51c3827dc05018128fefe8270da88cfefb.zip CMake-bf5ece51c3827dc05018128fefe8270da88cfefb.tar.gz CMake-bf5ece51c3827dc05018128fefe8270da88cfefb.tar.bz2 |
Keep track of properties used to determine linker libraries.
Those properties can't later be implicitly defined by the interface
of those link libraries.
Diffstat (limited to 'Source/cmGeneratorExpression.cxx')
-rw-r--r-- | Source/cmGeneratorExpression.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpression.cxx b/Source/cmGeneratorExpression.cxx index 6d003e1..4063697 100644 --- a/Source/cmGeneratorExpression.cxx +++ b/Source/cmGeneratorExpression.cxx @@ -94,7 +94,15 @@ const char *cmCompiledGeneratorExpression::Evaluate( for ( ; it != end; ++it) { - this->Output += (*it)->Evaluate(&context, dagChecker); + const std::string result = (*it)->Evaluate(&context, dagChecker); + this->Output += result; + + for(std::set<cmStdString>::const_iterator + p = context.SeenTargetProperties.begin(); + p != context.SeenTargetProperties.end(); ++p) + { + this->SeenTargetProperties[*p] += result + ";"; + } if (context.HadError) { this->Output = ""; |