summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-08-01 19:25:40 (GMT)
committerBrad King <brad.king@kitware.com>2007-08-01 19:25:40 (GMT)
commitea874415d9f1a1058aadb38c6987b18d8b3324f5 (patch)
treed057bde4debad9f639903126bccf6854be6ced13 /Source/cmLocalUnixMakefileGenerator3.cxx
parent2246e0336db396058ebcec67527bf790a34a8e72 (diff)
downloadCMake-ea874415d9f1a1058aadb38c6987b18d8b3324f5.zip
CMake-ea874415d9f1a1058aadb38c6987b18d8b3324f5.tar.gz
CMake-ea874415d9f1a1058aadb38c6987b18d8b3324f5.tar.bz2
ENH: Moved GetTargetDirectory method up to cmLocalGenerator. This provides a common interface to something that was implemented in most local generators anyway.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index e60a5d2..3ba20f8 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1897,7 +1897,8 @@ cmLocalUnixMakefileGenerator3::ConvertToQuotedOutputPath(const char* p)
//----------------------------------------------------------------------------
std::string
-cmLocalUnixMakefileGenerator3::GetTargetDirectory(cmTarget& target)
+cmLocalUnixMakefileGenerator3
+::GetTargetDirectory(cmTarget const& target) const
{
std::string dir = cmake::GetCMakeFilesDirectoryPostSlash();
dir += target.GetName();