summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-10-20 18:31:47 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-08 23:04:37 (GMT)
commit8b0168863ed121c7d9f05e3282e2f59490ff6c42 (patch)
treede9d3bd38dbccd54dd9e11d03d79840bb1a5babe /Source/cmTarget.cxx
parente0261a1e20f14cc2ca593bb978479b52954397d8 (diff)
downloadCMake-8b0168863ed121c7d9f05e3282e2f59490ff6c42.zip
CMake-8b0168863ed121c7d9f05e3282e2f59490ff6c42.tar.gz
CMake-8b0168863ed121c7d9f05e3282e2f59490ff6c42.tar.bz2
cmGeneratorTarget: Move GetDirectory from cmTarget.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 825f3eb..0f8b3b0 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -1771,25 +1771,6 @@ cmTarget::OutputInfo const* cmTarget::GetOutputInfo(
}
//----------------------------------------------------------------------------
-std::string cmTarget::GetDirectory(const std::string& config,
- bool implib) const
-{
- if (this->IsImported())
- {
- // Return the directory from which the target is imported.
- return
- cmSystemTools::GetFilenamePath(
- this->ImportedGetFullPath(config, implib));
- }
- else if(OutputInfo const* info = this->GetOutputInfo(config))
- {
- // Return the directory in which the target will be built.
- return implib? info->ImpDir : info->OutDir;
- }
- return "";
-}
-
-//----------------------------------------------------------------------------
std::string cmTarget::GetPDBDirectory(const std::string& config) const
{
if(OutputInfo const* info = this->GetOutputInfo(config))