summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-04-20 18:37:05 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-04-20 18:37:05 (GMT)
commitf438cd373131b85dd71b1f902c56fb3584cf8f87 (patch)
tree29b655886a9530785de3bb00f87b90589814b73f /Source/cmMakefile.h
parent5e0e65c18926b0a9c5b66ff4ec93d45cc008d383 (diff)
parent05245b42294a38c5f7be9b40a918e42575b7dbd7 (diff)
downloadCMake-f438cd373131b85dd71b1f902c56fb3584cf8f87.zip
CMake-f438cd373131b85dd71b1f902c56fb3584cf8f87.tar.gz
CMake-f438cd373131b85dd71b1f902c56fb3584cf8f87.tar.bz2
Merge topic 'clean-up-ReadListFile'
05245b42 cmMakefile: Move some preamble out of the Internal method. 6e23a4bd cmMakefile: Remove always-null first parameter to ReadListFile. d21ebcb2 cmMakefile: Swap parameters of calls to ReadListFile. 95a27267 cmMakefile: Extract conditional code to caller. 7d248547 cmMakefile: Remove intermediate variable. 9db15954 cmMakefile: Move condition to the only calling context where it is true. 5d4480a8 cmMakefile: Populate CMAKE_PARENT_LIST_FILE in callers. 3a8ac242 cmMakefile: Collapse nested conditional. 5947d9b0 cmMakefile: Convert filenametoread into a std::string. e2d0e0fb cmMakefile: Remove intermediate variable. 3a1ad171 cmMakefile: Combine duplicate condition. f0dae032 cmMakefile: Re-order independent statements. 08da8742 cmMakefile: Split a conditional. 3dc4fe02 cmMakefile: Re-order independent variable setting. e4f8f1f1 cmMakefile: Remove intermediate variable. 2d6121a9 cmMakefile: Remove use of intermediate variable. ...
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 299d550..73d6910 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -86,9 +86,12 @@ public:
* Read and parse a CMakeLists.txt file.
*/
bool ReadListFile(const char* listfile,
- const char* external= 0,
- std::string* fullPath= 0,
- bool noPolicyScope = true);
+ bool noPolicyScope = true,
+ bool requireProjectCommand = false);
+
+ bool ReadDependentFile(const char* listfile, bool noPolicyScope = true);
+
+ bool ProcessBuildsystemFile(const char* listfile);
/**
* Add a function blocker to this makefile
@@ -987,6 +990,12 @@ protected:
private:
void Initialize();
+
+
+ bool ReadListFileInternal(const char* filenametoread,
+ bool noPolicyScope,
+ bool requireProjectCommand);
+
bool ParseDefineFlag(std::string const& definition, bool remove);
bool EnforceUniqueDir(const std::string& srcPath,