summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-10-28 18:47:46 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-27 19:58:50 (GMT)
commit9f2dca805c8010636d4be7ef03d96bfc131c9809 (patch)
tree0fe3e34e2ef5344d53d3d0d5c41f36bb17942321 /Source/cmTarget.cxx
parentc7a8e74b8c7ade9efb68b8bd36fd6d741f2dba7e (diff)
downloadCMake-9f2dca805c8010636d4be7ef03d96bfc131c9809.zip
CMake-9f2dca805c8010636d4be7ef03d96bfc131c9809.tar.gz
CMake-9f2dca805c8010636d4be7ef03d96bfc131c9809.tar.bz2
Move GetLocation to cmGeneratorTarget.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index e4cd4f3..9122daf 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -2739,21 +2739,6 @@ std::string cmTarget::GetCompilePDBDirectory(const std::string& config) const
}
//----------------------------------------------------------------------------
-const char* cmTarget::GetLocation(const std::string& config) const
-{
- static std::string location;
- if (this->IsImported())
- {
- location = this->ImportedGetFullPath(config, false);
- }
- else
- {
- location = this->GetFullPath(config, false);
- }
- return location.c_str();
-}
-
-//----------------------------------------------------------------------------
const char* cmTarget::ImportedGetLocation(const std::string& config) const
{
static std::string location;