|
|
@@ -128,6 +128,12 @@ cmGlobalVisualStudio10Generator::SetGeneratorToolset(std::string const& ts,
|
|
|
bool cmGlobalVisualStudio10Generator::SetSystemName(std::string const& s,
|
|
|
cmMakefile* mf)
|
|
|
{
|
|
|
+ this->SystemName = s;
|
|
|
+ this->SystemVersion = mf->GetSafeDefinition("CMAKE_SYSTEM_VERSION");
|
|
|
+ if(!this->InitializeSystem(mf))
|
|
|
+ {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
if(this->PlatformName == "Itanium" || this->PlatformName == "x64")
|
|
|
{
|
|
|
if(this->IsExpressEdition() && !this->Find64BitTools(mf))
|
|
|
@@ -139,6 +145,12 @@ bool cmGlobalVisualStudio10Generator::SetSystemName(std::string const& s,
|
|
|
return this->cmGlobalVisualStudio8Generator::SetSystemName(s, mf);
|
|
|
}
|
|
|
|
|
|
+//----------------------------------------------------------------------------
|
|
|
+bool cmGlobalVisualStudio10Generator::InitializeSystem(cmMakefile*)
|
|
|
+{
|
|
|
+ return true;
|
|
|
+}
|
|
|
+
|
|
|
//----------------------------------------------------------------------------
|
|
|
void cmGlobalVisualStudio10Generator
|
|
|
::AddVSPlatformToolsetDefinition(cmMakefile* mf) const
|