diff options
author | Brad King <brad.king@kitware.com> | 2007-08-01 19:25:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-08-01 19:25:40 (GMT) |
commit | ea874415d9f1a1058aadb38c6987b18d8b3324f5 (patch) | |
tree | d057bde4debad9f639903126bccf6854be6ced13 /Source/cmLocalGenerator.cxx | |
parent | 2246e0336db396058ebcec67527bf790a34a8e72 (diff) | |
download | CMake-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/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 9912c6f..c5a836a 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -2772,6 +2772,18 @@ std::string cmLocalGenerator::EscapeForShell(const char* str, bool makeVars, } return std::string(&arg[0]); } + +//---------------------------------------------------------------------------- +std::string +cmLocalGenerator::GetTargetDirectory(cmTarget const&) const +{ + cmSystemTools::Error("GetTargetDirectory" + " called on cmLocalGenerator"); + return ""; +} + + +//---------------------------------------------------------------------------- void cmLocalGenerator::GetTargetObjectFileDirectories(cmTarget* , std::vector<std::string>& |