From 53d3a1c95a4b03b327149e628f6937d68af938e6 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 7 Oct 2015 19:45:55 +0200 Subject: [PATCH] cmMakefile: Remove unused GetProjectName calls. --- Source/cmMakefile.cxx | 5 ----- Source/cmMakefile.h | 5 ----- 2 files changed, 10 deletions(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 16c0c9a35b..02b93ee5bb 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 459d34ca68..0a8dcd53e9 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& configs, bool single = true) const;