diff options
author | Brad King <brad.king@kitware.com> | 2005-04-22 19:23:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-04-22 19:23:21 (GMT) |
commit | 1b71f4477beeb41e3924993b5d4b78eadc092ec8 (patch) | |
tree | cd6573e19ddb19b80adc278a528af356639cf130 /Source/cmGetTargetPropertyCommand.cxx | |
parent | 98d872c90e181e1f735cf5f801a5d18a0347cc96 (diff) | |
download | CMake-1b71f4477beeb41e3924993b5d4b78eadc092ec8.zip CMake-1b71f4477beeb41e3924993b5d4b78eadc092ec8.tar.gz CMake-1b71f4477beeb41e3924993b5d4b78eadc092ec8.tar.bz2 |
ENH: Added cmTarget::GetBaseName and cmTarget::GetFullName methods and removed cmLocalGenerator::GetFullTargetName and cmLocalUnixMakefileGenerator2::GetBaseTargetName. This functionality is more sensibly implemented in cmTarget. It is also needed for an upcoming feature in which both the shared and static versions of a library will be removed before one is linked.
Diffstat (limited to 'Source/cmGetTargetPropertyCommand.cxx')
-rw-r--r-- | Source/cmGetTargetPropertyCommand.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGetTargetPropertyCommand.cxx b/Source/cmGetTargetPropertyCommand.cxx index 6ff0fcc..9c8ed4f 100644 --- a/Source/cmGetTargetPropertyCommand.cxx +++ b/Source/cmGetTargetPropertyCommand.cxx @@ -64,8 +64,7 @@ bool cmGetTargetPropertyCommand::InitialPass( target_location += "/"; } - cmLocalGenerator* lg = m_Makefile->GetLocalGenerator(); - target_location += lg->GetFullTargetName(targetName, target); + target_location += target.GetFullName(m_Makefile); m_Makefile->AddDefinition(var, target_location.c_str()); return true; } |