diff options
author | Brad King <brad.king@kitware.com> | 2007-03-08 20:33:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-03-08 20:33:19 (GMT) |
commit | 01dc699d82af9bca7d9f4c1bdc9e453e764861ba (patch) | |
tree | 5a74141a229e9737198b5e774ebb0c3f45942c2d /Source/cmTarget.h | |
parent | 789a0f83594cd3bafcc9a3051a5ed53ec76c8684 (diff) | |
download | CMake-01dc699d82af9bca7d9f4c1bdc9e453e764861ba.zip CMake-01dc699d82af9bca7d9f4c1bdc9e453e764861ba.tar.gz CMake-01dc699d82af9bca7d9f4c1bdc9e453e764861ba.tar.bz2 |
ENH: Combined cmTarget::GetDirectory and cmTarget::GetOutputDir since they are nearly the same. This is another step for bug#2240.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 4e5bf6e..c58f853 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -213,9 +213,6 @@ public: makefile and the configuration type. */ std::string GetFullPath(const char* config=0, bool implib = false); - /** Get the full path to the target output directory. */ - const char* GetOutputDir(); - /** Get the names of the library needed to generate a build rule that takes into account shared library version numbers. This should be called only on a library target. */ @@ -342,6 +339,9 @@ private: // If the variable is not defined use the given default instead. void SetPropertyDefault(const char* property, const char* default_value); + // Get the full path to the target output directory. + const char* GetOutputDir(); + private: std::string Name; std::vector<cmCustomCommand> PreBuildCommands; |