summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-16 17:19:51 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-16 18:24:44 (GMT)
commitbeff29f0d4bf1ffface0e6833f29f2f04ceccf0b (patch)
treea5c2b35e96491f4073c2972090943e1623047381 /Source/cmTarget.cxx
parent12e4790a0b40d8176940f855f7f6c9cfe6c39f9f (diff)
downloadCMake-beff29f0d4bf1ffface0e6833f29f2f04ceccf0b.zip
CMake-beff29f0d4bf1ffface0e6833f29f2f04ceccf0b.tar.gz
CMake-beff29f0d4bf1ffface0e6833f29f2f04ceccf0b.tar.bz2
cmGeneratorTarget: Move ComputeVersionedName from cmTarget.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 850fc6a..1c4faab 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -2119,23 +2119,6 @@ cmTarget::ImportedGetFullPath(const std::string& config, bool pimplib) const
}
//----------------------------------------------------------------------------
-void cmTarget::ComputeVersionedName(std::string& vName,
- std::string const& prefix,
- std::string const& base,
- std::string const& suffix,
- std::string const& name,
- const char* version) const
-{
- vName = this->IsApple? (prefix+base) : name;
- if(version)
- {
- vName += ".";
- vName += version;
- }
- vName += this->IsApple? suffix : std::string();
-}
-
-//----------------------------------------------------------------------------
void cmTarget::SetPropertyDefault(const std::string& property,
const char* default_value)
{