summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-14 21:49:10 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-19 20:36:48 (GMT)
commitf3e6a336f29b0675e4eb3852ce7544f3c9342071 (patch)
tree4458cc329a64ffa7611347d1be0db1b7ffe7f2ed /Source/cmMakefile.h
parent6b9e647239b67aff3119efbe2691fefe9c2dc28b (diff)
downloadCMake-f3e6a336f29b0675e4eb3852ce7544f3c9342071.zip
CMake-f3e6a336f29b0675e4eb3852ce7544f3c9342071.tar.gz
CMake-f3e6a336f29b0675e4eb3852ce7544f3c9342071.tar.bz2
cmMakefile: Remove CurrentListFile member.
It is never read externally. The CollapseFullPath removed in this commit is a repeat of a similar call inside ReadListFile.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 82f2715..2a72cca 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -418,14 +418,6 @@ public:
void SetCurrentBinaryDirectory(const std::string& dir);
const char* GetCurrentBinaryDirectory() const;
- /* Get the current CMakeLists.txt file that is being processed. This
- * is just used in order to be able to 'branch' from one file to a second
- * transparently */
- const char* GetCurrentListFile() const
- {
- return this->cmCurrentListFile.c_str();
- }
-
//@}
/**
@@ -845,8 +837,6 @@ protected:
// Check for a an unused variable
void CheckForUnused(const char* reason, const std::string& name) const;
- std::string cmCurrentListFile;
-
std::string ProjectName; // project name
// libraries, classes, and executables