diff options
author | Brad King <brad.king@kitware.com> | 2012-03-08 16:18:55 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-03-09 15:16:03 -0500 |
commit | 9c0a00d6dd6e7419eba61bcac30bdd0715b8b2cd (patch) | |
tree | 6c9b57594fe45b812249085314623cff088784d6 /Source/cmMakefile.cxx | |
parent | 46f49406759423dcc6f4050c9ad83c7167bd4dfc (diff) | |
download | cmake-9c0a00d6dd6e7419eba61bcac30bdd0715b8b2cd.tar.gz |
Rename/constify build-time config placeholder lookup
Rename cmGlobalGenerator::GetCMakeCFG{InitDirectory => IntDir} to
have a shorter name without a typo. Add a 'const' qualifier since
the method is only for lookup and never needs to modify anything.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index f90c35c38f..68a8272512 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -945,7 +945,7 @@ cmMakefile::AddCustomCommandToOutput(const std::vector<std::string>& outputs, outName += ".rule"; const char* dir = this->LocalGenerator->GetGlobalGenerator()-> - GetCMakeCFGInitDirectory(); + GetCMakeCFGIntDir(); if(dir && dir[0] == '$') { cmSystemTools::ReplaceString(outName, dir, @@ -2865,7 +2865,7 @@ void cmMakefile::EnableLanguage(std::vector<std::string> const & lang, { this->AddDefinition("CMAKE_CFG_INTDIR", this->LocalGenerator->GetGlobalGenerator() - ->GetCMakeCFGInitDirectory()); + ->GetCMakeCFGIntDir()); this->LocalGenerator->GetGlobalGenerator()->EnableLanguage(lang, this, optional); } |