diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-16 17:19:50 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-16 18:24:43 (GMT) |
commit | cb8c728f17a61732064280ddb98203cb277e5a3c (patch) | |
tree | 36b6874789b7af34c447a9556c73f8519692c4f8 /Source/cmGeneratorTarget.cxx | |
parent | fb4fca0b5efabdf061bd256ed9d35edae6f42b9d (diff) | |
download | CMake-cb8c728f17a61732064280ddb98203cb277e5a3c.zip CMake-cb8c728f17a61732064280ddb98203cb277e5a3c.tar.gz CMake-cb8c728f17a61732064280ddb98203cb277e5a3c.tar.bz2 |
cmGeneratorTarget: Move GetFullNameImported from cmTarget.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 806d27d..98150df 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -1605,7 +1605,7 @@ cmGeneratorTarget::GetFullName(const std::string& config, bool implib) const { if(this->Target->IsImported()) { - return this->Target->GetFullNameImported(config, implib); + return this->GetFullNameImported(config, implib); } else { @@ -3344,6 +3344,14 @@ std::string cmGeneratorTarget::GetFullNameInternal(const std::string& config, } //---------------------------------------------------------------------------- +std::string cmGeneratorTarget::GetFullNameImported(const std::string& config, + bool implib) const +{ + return cmSystemTools::GetFilenameName( + this->Target->ImportedGetFullPath(config, implib)); +} + +//---------------------------------------------------------------------------- void cmGeneratorTarget::GetFullNameInternal(const std::string& config, bool implib, std::string& outPrefix, |