diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-14 18:40:40 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-14 18:44:55 (GMT) |
commit | c5059c900036fd9500d64fbd7f9d2d3631152295 (patch) | |
tree | 2553a768f322c2841d6c378a409d9f7c00c5664d /Source/cmLocalGenerator.h | |
parent | b17686d2bbc193f19c60cdf44a228e49b4ffe386 (diff) | |
download | CMake-c5059c900036fd9500d64fbd7f9d2d3631152295.zip CMake-c5059c900036fd9500d64fbd7f9d2d3631152295.tar.gz CMake-c5059c900036fd9500d64fbd7f9d2d3631152295.tar.bz2 |
cmLocalGenerator: Add abstraction to check if top-level.
Move from the cmLocalNinjaGenerator. Fix the case of the name.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 47c0877..3459c2a 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -37,6 +37,9 @@ public: cmLocalGenerator(cmGlobalGenerator* gg, cmLocalGenerator* parent); virtual ~cmLocalGenerator(); + /// @return whether we are processing the top CMakeLists.txt file. + bool IsRootMakefile() const; + /** * Generate the makefile for this directory. */ |