mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
cmMakefile: Out-of-line GetProjectName.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user