summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 092d742..194729e 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -82,6 +82,18 @@ public:
void RemoveFunctionBlocker(cmFunctionBlocker *fb)
{ m_FunctionBlockers.remove(fb);}
void RemoveFunctionBlocker(const cmListFileFunction& lff);
+
+ /**
+ * Add file to the written file list. These file should not be in the list
+ * of dependencies because they cause infinite loops.
+ */
+ void AddWrittenFile(const char* file);
+ bool HasWrittenFile(const char* file);
+
+ /**
+ * Check if there are any infinite loops
+ */
+ bool CheckInfiniteLoops();
/**
* Try running cmake and building a file. This is used for dynalically