diff options
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index ae250d4..18a7c50 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -866,6 +866,17 @@ cmListFileBacktrace const& cmTarget::GetBacktrace() const } //---------------------------------------------------------------------------- +std::string cmTarget::GetSupportDirectory() const +{ + std::string dir = this->Makefile->GetCurrentOutputDirectory(); + dir += cmake::GetCMakeFilesDirectory(); + dir += "/"; + dir += this->Name; + dir += ".dir"; + return dir; +} + +//---------------------------------------------------------------------------- bool cmTarget::IsExecutableWithExports() { return (this->GetType() == cmTarget::EXECUTABLE && |