summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-14 22:09:53 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-19 20:36:49 (GMT)
commit2dd5d42f5254abda64009434f0b11a47ca16640e (patch)
treecaea3248fb241d5458677cb1b46766a82e578286 /Source/cmMakefile.h
parentf3e6a336f29b0675e4eb3852ce7544f3c9342071 (diff)
downloadCMake-2dd5d42f5254abda64009434f0b11a47ca16640e.zip
CMake-2dd5d42f5254abda64009434f0b11a47ca16640e.tar.gz
CMake-2dd5d42f5254abda64009434f0b11a47ca16640e.tar.bz2
cmMakefile: Make the public ReadListFile method take one param.
Make the existing method a private overload. All external callers invoke the method with only one argument.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 2a72cca..8c50e8e 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -84,12 +84,7 @@ public:
*/
~cmMakefile();
- /**
- * Read and parse a CMakeLists.txt file.
- */
- bool ReadListFile(const char* listfile,
- bool noPolicyScope = true,
- bool requireProjectCommand = false);
+ bool ReadListFile(const char* listfile);
bool ReadDependentFile(const char* listfile, bool noPolicyScope = true);
@@ -902,6 +897,10 @@ private:
cmState::Snapshot StateSnapshot;
+ bool ReadListFile(const char* listfile,
+ bool noPolicyScope,
+ bool requireProjectCommand);
+
bool ReadListFileInternal(const char* filenametoread,
bool noPolicyScope,
bool requireProjectCommand);