Przeglądaj źródła

cmMakefile: Remove unused GetProjectName calls.

Stephen Kelly 10 lat temu
rodzic
commit
53d3a1c95a
2 zmienionych plików z 0 dodań i 10 usunięć
  1. 0 5
      Source/cmMakefile.cxx
  2. 0 5
      Source/cmMakefile.h

+ 0 - 5
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)
 {

+ 0 - 5
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;