summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-03-08 21:18:55 (GMT)
committerBrad King <brad.king@kitware.com>2012-03-09 20:16:03 (GMT)
commit9c0a00d6dd6e7419eba61bcac30bdd0715b8b2cd (patch)
tree6c9b57594fe45b812249085314623cff088784d6 /Source/cmGlobalVisualStudio10Generator.h
parent46f49406759423dcc6f4050c9ad83c7167bd4dfc (diff)
downloadCMake-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/cmGlobalVisualStudio10Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h
index 18b483d..750b89c 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -72,7 +72,7 @@ public:
* Studio?
*/
virtual std::string GetUserMacrosRegKeyBase();
- virtual const char* GetCMakeCFGInitDirectory()
+ virtual const char* GetCMakeCFGIntDir() const
{ return "$(Configuration)";}
bool Find64BitTools(cmMakefile* mf);
protected: