summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-22 17:00:32 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-06-22 17:00:32 (GMT)
commitec6d6be57d5a032bd7c29bc440c8c8710eb426e8 (patch)
tree81f81c663db6566c53908369a7a2110f3d0f8e6c /Source/cmMakefile.h
parent24a08255856e9b3a44b55f2f138ce0b25b785928 (diff)
parent820986edfff97779bb0c84fd9da3b284921c8ae4 (diff)
downloadCMake-ec6d6be57d5a032bd7c29bc440c8c8710eb426e8.zip
CMake-ec6d6be57d5a032bd7c29bc440c8c8710eb426e8.tar.gz
CMake-ec6d6be57d5a032bd7c29bc440c8c8710eb426e8.tar.bz2
Merge topic 'minor-cleanups'
820986ed cmLocalGenerator: Constify GetIncludeDirectories method. b3e2e332 QtAutogen: Get the global generator from the Makefile. 61c0113c cmLocalUnixMakefileGenerator3: Remove unused method. 080489b8 cmMakefile: Use member directly instead of through method. 8bfaadfa cmMakefile: Move IsRoot API from cmLocalGenerator. 217c243d cmake: Update the current snapshot when Resetting. eb05dcd6 cmLocalGenerator: Add IssueMessage method. cfae7fa4 cmMakefile: Use cmOutputConverter instead of cmLocalGenerator. ccf7760f cmOutputConverter: Constify API.
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 b3efb88..b3ab273 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.