summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-09-05 18:02:58 (GMT)
committerBrad King <brad.king@kitware.com>2014-09-05 18:02:58 (GMT)
commit68d4280ac4cb692b908620884b0842b7a01debeb (patch)
tree151dcefe8a2c123a1b26962e3f3369e092a7ee03 /Source/cmGlobalVisualStudio7Generator.h
parentad2a4776aa34c84a069a9e4d83ea32174ac6e6ac (diff)
downloadCMake-68d4280ac4cb692b908620884b0842b7a01debeb.zip
CMake-68d4280ac4cb692b908620884b0842b7a01debeb.tar.gz
CMake-68d4280ac4cb692b908620884b0842b7a01debeb.tar.bz2
VS: Refactor internal default platform name selection
Rename the 'PlatformName' member to 'DefaultPlatformName' and make sure it is only read through a 'GetPlatformName()' call. This will allow non-default names to be chosen later.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.h b/Source/cmGlobalVisualStudio7Generator.h
index 7e3ed23..dc8b915 100644
--- a/Source/cmGlobalVisualStudio7Generator.h
+++ b/Source/cmGlobalVisualStudio7Generator.h
@@ -39,7 +39,7 @@ public:
static std::string GetActualName() {return "Visual Studio 7";}
///! Get the name for the platform.
- const std::string& GetPlatformName() const { return this->PlatformName; }
+ std::string const& GetPlatformName() const;
///! Create a local generator appropriate to this Global Generator
virtual cmLocalGenerator *CreateLocalGenerator();
@@ -175,7 +175,7 @@ protected:
// Set during OutputSLNFile with the name of the current project.
// There is one SLN file per project.
std::string CurrentProject;
- std::string PlatformName;
+ std::string DefaultPlatformName;
bool MasmEnabled;
private: