summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio8Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-30 13:49:56 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-30 13:49:56 -0500
commit5a2668b326471874ca69357af831cdcf1575c621 (patch)
tree92f40c9de267766f0533df44212ec2df6415aa47 /Source/cmGlobalVisualStudio8Generator.cxx
parent08b14163ee2cc9cced08d80b2c81b29c83072229 (diff)
downloadcmake-5a2668b326471874ca69357af831cdcf1575c621.tar.gz
ENH: add support for win64 for visual studio 2005 ide and nmake, also fix warnings produced by building for win64
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index cbc7822b49..969999d895 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -26,6 +26,7 @@ cmGlobalVisualStudio8Generator::cmGlobalVisualStudio8Generator()
{
this->FindMakeProgramFile = "CMakeVS8FindMake.cmake";
this->ProjectConfigurationSectionName = "ProjectConfigurationPlatforms";
+ this->PlatformName = "Win32";
}
@@ -206,7 +207,8 @@ cmGlobalVisualStudio8Generator
for(std::vector<std::string>::iterator i = this->Configurations.begin();
i != this->Configurations.end(); ++i)
{
- fout << "\t\t" << *i << "|Win32 = " << *i << "|Win32\n";
+ fout << "\t\t" << *i << "|" << this->PlatformName << " = " << *i << "|"
+ << this->PlatformName << "\n";
}
fout << "\tEndGlobalSection\n";
}
@@ -221,10 +223,12 @@ cmGlobalVisualStudio8Generator
for(std::vector<std::string>::iterator i = this->Configurations.begin();
i != this->Configurations.end(); ++i)
{
- fout << "\t\t{" << guid << "}." << *i << "|Win32.ActiveCfg = " << *i << "|Win32\n";
+ fout << "\t\t{" << guid << "}." << *i << "|" << this->PlatformName << ".ActiveCfg = "
+ << *i << "|" << this->PlatformName << "\n";
if (in_all_build)
{
- fout << "\t\t{" << guid << "}." << *i << "|Win32.Build.0 = " << *i << "|Win32\n";
+ fout << "\t\t{" << guid << "}." << *i << "|" << this->PlatformName << ".Build.0 = "
+ << *i << "|" << this->PlatformName << "\n";
}
}
}