summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx15
1 files changed, 11 insertions, 4 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 3ab48d3..f62e228 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -24,7 +24,7 @@
cmLocalVisualStudio7Generator::cmLocalVisualStudio7Generator()
{
- m_Version71 = false;
+ m_Version = 7;
}
cmLocalVisualStudio7Generator::~cmLocalVisualStudio7Generator()
@@ -1172,13 +1172,20 @@ cmLocalVisualStudio7Generator::WriteProjectStart(std::ostream& fout,
fout << "<?xml version=\"1.0\" encoding = \"Windows-1252\"?>\n"
<< "<VisualStudioProject\n"
<< "\tProjectType=\"Visual C++\"\n";
- if(m_Version71)
+ if(m_Version == 71)
{
fout << "\tVersion=\"7.10\"\n";
}
- else
+ else
{
- fout << "\tVersion=\"7.00\"\n";
+ if (m_Version == 8)
+ {
+ fout << "\tVersion=\"8.0\"\n";
+ }
+ else
+ {
+ fout << "\tVersion=\"7.00\"\n";
+ }
}
fout << "\tName=\"" << libName << "\"\n"