summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 12:07:15 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-21 19:14:05 (GMT)
commit8bfaadfa394c9b462259ea13df6b2df7c4544ab4 (patch)
tree1a845ae755348b3fa2962758b05abf5570acccfc /Source/cmMakefile.h
parent217c243db04a21763848ac048edf153cd93bd883 (diff)
downloadCMake-8bfaadfa394c9b462259ea13df6b2df7c4544ab4.zip
CMake-8bfaadfa394c9b462259ea13df6b2df7c4544ab4.tar.gz
CMake-8bfaadfa394c9b462259ea13df6b2df7c4544ab4.tar.bz2
cmMakefile: Move IsRoot API from cmLocalGenerator.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 86bde0c..44bd8c6 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -90,6 +90,9 @@ public:
*/
void AddFunctionBlocker(cmFunctionBlocker* fb);
+ /// @return whether we are processing the top CMakeLists.txt file.
+ bool IsRootMakefile() const;
+
/**
* Remove the function blocker whose scope ends with the given command.
* This returns ownership of the function blocker object.