cmMakefile: Out-of-line GetProjectName.
This commit is contained in:
parent
f4150bd88d
commit
e8c0341d86
|
@ -2049,6 +2049,10 @@ void cmMakefile::SetProjectName(const char* p)
|
||||||
this->ProjectName = p;
|
this->ProjectName = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char* cmMakefile::GetProjectName() const
|
||||||
|
{
|
||||||
|
return this->ProjectName.c_str();
|
||||||
|
}
|
||||||
|
|
||||||
void cmMakefile::AddGlobalLinkInformation(const std::string& name,
|
void cmMakefile::AddGlobalLinkInformation(const std::string& name,
|
||||||
cmTarget& target)
|
cmTarget& target)
|
||||||
|
|
|
@ -279,10 +279,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* Get the name of the project for this build.
|
* Get the name of the project for this build.
|
||||||
*/
|
*/
|
||||||
const char* GetProjectName() const
|
const char* GetProjectName() const;
|
||||||
{
|
|
||||||
return this->ProjectName.c_str();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Get the configurations to be generated. */
|
/** Get the configurations to be generated. */
|
||||||
std::string GetConfigurations(std::vector<std::string>& configs,
|
std::string GetConfigurations(std::vector<std::string>& configs,
|
||||||
|
|
Loading…
Reference in New Issue