diff options
Diffstat (limited to 'Source/cmDepends.h')
-rw-r--r-- | Source/cmDepends.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/cmDepends.h b/Source/cmDepends.h index a0b1b6b..80a9c79 100644 --- a/Source/cmDepends.h +++ b/Source/cmDepends.h @@ -37,6 +37,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; |