summaryrefslogtreecommitdiffstats
path: root/Source/cmDepends.h
diff options
context:
space:
mode:
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;