diff options
-rw-r--r-- | Source/cmMakefile.cxx | 4 | ||||
-rw-r--r-- | Source/cmMakefile.h | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 2296d5a..73911a5 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2049,6 +2049,10 @@ void cmMakefile::SetProjectName(const char* p) this->ProjectName = p; } +const char* cmMakefile::GetProjectName() const +{ + return this->ProjectName.c_str(); +} void cmMakefile::AddGlobalLinkInformation(const std::string& name, cmTarget& target) diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 055170a..959f0e7 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -279,10 +279,7 @@ public: /** * Get the name of the project for this build. */ - const char* GetProjectName() const - { - return this->ProjectName.c_str(); - } + const char* GetProjectName() const; /** Get the configurations to be generated. */ std::string GetConfigurations(std::vector<std::string>& configs, |