summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-16 17:19:50 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-16 18:24:43 (GMT)
commitcb8c728f17a61732064280ddb98203cb277e5a3c (patch)
tree36b6874789b7af34c447a9556c73f8519692c4f8 /Source/cmGeneratorTarget.cxx
parentfb4fca0b5efabdf061bd256ed9d35edae6f42b9d (diff)
downloadCMake-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.cxx10
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,