summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-07 17:45:55 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-08 22:00:18 (GMT)
commit53d3a1c95a4b03b327149e628f6937d68af938e6 (patch)
treed9fe068585cca3630c85fc760c1f78a0d5e2775e /Source
parent4ab2750c54adb09d147839687858aabe3cd988a7 (diff)
downloadCMake-53d3a1c95a4b03b327149e628f6937d68af938e6.zip
CMake-53d3a1c95a4b03b327149e628f6937d68af938e6.tar.gz
CMake-53d3a1c95a4b03b327149e628f6937d68af938e6.tar.bz2
cmMakefile: Remove unused GetProjectName calls.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx5
-rw-r--r--Source/cmMakefile.h5
2 files changed, 0 insertions, 10 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 16c0c9a..02b93ee 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -2030,11 +2030,6 @@ void cmMakefile::SetProjectName(std::string const& p)
this->StateSnapshot.SetProjectName(p);
}
-std::string cmMakefile::GetProjectName() const
-{
- return this->StateSnapshot.GetProjectName();
-}
-
void cmMakefile::AddGlobalLinkInformation(const std::string& name,
cmTarget& target)
{
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 459d34c..0a8dcd5 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -274,11 +274,6 @@ public:
*/
void SetProjectName(std::string const& name);
- /**
- * Get the name of the project for this build.
- */
- std::string GetProjectName() const;
-
/** Get the configurations to be generated. */
std::string GetConfigurations(std::vector<std::string>& configs,
bool single = true) const;