diff options
author | Brad King <brad.king@kitware.com> | 2012-03-08 21:18:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-03-09 20:16:03 (GMT) |
commit | 9c0a00d6dd6e7419eba61bcac30bdd0715b8b2cd (patch) | |
tree | 6c9b57594fe45b812249085314623cff088784d6 /Source/cmGlobalGenerator.cxx | |
parent | 46f49406759423dcc6f4050c9ad83c7167bd4dfc (diff) | |
download | CMake-9c0a00d6dd6e7419eba61bcac30bdd0715b8b2cd.zip CMake-9c0a00d6dd6e7419eba61bcac30bdd0715b8b2cd.tar.gz CMake-9c0a00d6dd6e7419eba61bcac30bdd0715b8b2cd.tar.bz2 |
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/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index d7ba8b6..545f9e8 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1769,7 +1769,7 @@ void cmGlobalGenerator::SetCMakeInstance(cmake* cm) void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets) { cmMakefile* mf = this->LocalGenerators[0]->GetMakefile(); - const char* cmakeCfgIntDir = this->GetCMakeCFGInitDirectory(); + const char* cmakeCfgIntDir = this->GetCMakeCFGIntDir(); const char* cmakeCommand = mf->GetRequiredDefinition("CMAKE_COMMAND"); // CPack |