VS: Delay getting platform name in local generator

Ask the global generator during generation instead of trying
to store it up front.  Later the global generator may not know
the platform name when it is creating the local generator.
This commit is contained in:
Brad King
2014-07-17 16:58:34 -04:00
parent e7fdb44b1b
commit 7a526c35f6
8 changed files with 16 additions and 17 deletions

View File

@@ -53,8 +53,6 @@ public:
*/
void SetBuildType(BuildType,const std::string& name);
void SetPlatformName(const std::string& n) { this->PlatformName = n;}
void SetExtraFlagTable(cmVS7FlagTable const* table)
{ this->ExtraFlagTable = table; }
virtual std::string GetTargetDirectory(cmTarget const&) const;
@@ -124,7 +122,6 @@ private:
std::string ModuleDefinitionFile;
bool FortranProject;
bool WindowsCEProject;
std::string PlatformName; // Win32 or x64
cmLocalVisualStudio7GeneratorInternals* Internal;
};