summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 8c0403d..532fadd 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -493,6 +493,10 @@ public:
const std::vector<std::string>& GetListFiles() const
{ return m_ListFiles; }
+ ///! When the file changes cmake will be re-run from the build system.
+ void AddCMakeDependFile(const char* file)
+ { m_ListFiles.push_back(file);}
+
/**
* Dump documentation to a file. If 0 is returned, the
* operation failed.