diff options
author | Brad King <brad.king@kitware.com> | 2006-05-03 14:07:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-05-03 14:07:08 (GMT) |
commit | 826d238ebd644be6e1ea00363e76ecba7699a649 (patch) | |
tree | fb444959534d8bd1af678dee9b43cf185e96bee4 /Source/cmDepends.h | |
parent | 0cfda4a7f09825c8852d5763a91097841612cda3 (diff) | |
download | CMake-826d238ebd644be6e1ea00363e76ecba7699a649.zip CMake-826d238ebd644be6e1ea00363e76ecba7699a649.tar.gz CMake-826d238ebd644be6e1ea00363e76ecba7699a649.tar.bz2 |
BUG: Fix to avoid repeated calls to CollapseFullPath during dependency scanning. This addresses bug#3191.
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; |