summaryrefslogtreecommitdiff
path: root/Source/cmDepends.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-07 10:55:43 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-07 10:55:43 -0400
commit0c14932ae6c678feb66f16fddf82e48ac1e6769d (patch)
tree5a11eb9bf4ace5cb721bd520bb01ae6f6ad9eb06 /Source/cmDepends.h
parentc67d55b2e7e122bb869fe34f5da03785a4f45121 (diff)
downloadcmake-0c14932ae6c678feb66f16fddf82e48ac1e6769d.tar.gz
ENH: move changes from main tree and change version to 2.4.2
Diffstat (limited to 'Source/cmDepends.h')
-rw-r--r--Source/cmDepends.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/cmDepends.h b/Source/cmDepends.h
index a0b1b6be7e..e4278a6554 100644
--- a/Source/cmDepends.h
+++ b/Source/cmDepends.h
@@ -38,6 +38,11 @@ public:
/** at what level will the compile be done from */
void SetCompileDirectory(const char *dir) {this->CompileDirectory = dir;};
+ /** Set the full path to the top of the build tree. This is
+ the base path from which dependencies are referenced as
+ relative paths. */
+ void SetHomeOutputDirectory(const char *dir) {this->HomeOutputDirectory = dir;};
+
/** should this be verbose in its output */
void SetVerbose(bool verb) { this->Verbose = verb; }
@@ -71,9 +76,11 @@ protected:
virtual bool CheckDependencies(std::istream& internalDepends);
// The directory in which the build rule for the target file is executed.
- std::string Directory;
std::string CompileDirectory;
+ // The full path to the top of the build tree.
+ std::string HomeOutputDirectory;
+
// Flag for verbose output.
bool Verbose;
cmFileTimeComparison* FileComparison;