summaryrefslogtreecommitdiffstats
path: root/Source/cmDepends.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-05-25 16:22:32 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-05-25 16:22:32 (GMT)
commitd7cbf3e1d6c3753b4d05cf43e0d9978ad154f5ff (patch)
treededfc603511a8c9d5dda7c11850ed8a895db244c /Source/cmDepends.h
parent0e194cab8493026b036f492f26234878be9a12ed (diff)
downloadCMake-d7cbf3e1d6c3753b4d05cf43e0d9978ad154f5ff.zip
CMake-d7cbf3e1d6c3753b4d05cf43e0d9978ad154f5ff.tar.gz
CMake-d7cbf3e1d6c3753b4d05cf43e0d9978ad154f5ff.tar.bz2
BUG: a fix for constant recomputing of depends
Diffstat (limited to 'Source/cmDepends.h')
-rw-r--r--Source/cmDepends.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmDepends.h b/Source/cmDepends.h
index b9e3f99..d659af6 100644
--- a/Source/cmDepends.h
+++ b/Source/cmDepends.h
@@ -37,6 +37,9 @@ public:
void SetTargetFile(const char* dir, const char* targetFile,
const char *markExt, const char *makeExt);
+ /** at what level will the compile be done from */
+ void SetCompileDirectory(const char *dir) {m_CompileDirectory = dir;};
+
/** should this be verbose in its output */
void SetVerbose(bool verb) { m_Verbose = verb; }
@@ -71,6 +74,7 @@ protected:
// The directory in which the build rule for the target file is executed.
std::string m_Directory;
+ std::string m_CompileDirectory;
// The name of the target file for which dependencies are maintained.
std::string m_TargetFile;