diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-02 07:41:06 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-25 17:57:42 (GMT) |
commit | b3f2299e0600f3488aaeb78ebf66d1108201ea17 (patch) | |
tree | 2f193d7800f2ed121af8f9b76983d25ccacd7f3f /Source/cmMakefile.cxx | |
parent | 6ce940ac9701c93be01ed169c6bd23b22e04782f (diff) | |
download | CMake-b3f2299e0600f3488aaeb78ebf66d1108201ea17.zip CMake-b3f2299e0600f3488aaeb78ebf66d1108201ea17.tar.gz CMake-b3f2299e0600f3488aaeb78ebf66d1108201ea17.tar.bz2 |
cmState: Move ProjectName from cmMakefile.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index abdd767..dbf41cc 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1525,7 +1525,7 @@ void cmMakefile::InitializeFromParent(cmMakefile* parent) parent->GetProperty("LINK_DIRECTORIES")); // the initial project name - this->ProjectName = parent->ProjectName; + this->SetProjectName(parent->GetProjectName()); // Copy include regular expressions. this->ComplainFileRegularExpression = parent->ComplainFileRegularExpression; @@ -2046,12 +2046,12 @@ void cmMakefile::RemoveCacheDefinition(const std::string& name) void cmMakefile::SetProjectName(std::string const& p) { - this->ProjectName = p; + this->StateSnapshot.SetProjectName(p); } std::string cmMakefile::GetProjectName() const { - return this->ProjectName.c_str(); + return this->StateSnapshot.GetProjectName(); } void cmMakefile::AddGlobalLinkInformation(const std::string& name, |