cmMakefile: Out-of-line GetProjectName.

This commit is contained in:
Stephen Kelly 2015-08-02 10:56:33 +02:00
parent f4150bd88d
commit e8c0341d86
2 changed files with 5 additions and 4 deletions

View File

@ -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)

View File

@ -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,