summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-07-05 16:16:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-07-05 16:16:33 (GMT)
commit86195caf6ad23d6528748ad3879394b8709513c5 (patch)
tree2c48ed3825c1ad64ce0805d43a7cf2fb5e4b81e0 /Source/cmLocalVisualStudio7Generator.cxx
parentbbc9e4a9dcbe293a5054cf8296fa4fce7e9cea35 (diff)
downloadCMake-86195caf6ad23d6528748ad3879394b8709513c5.zip
CMake-86195caf6ad23d6528748ad3879394b8709513c5.tar.gz
CMake-86195caf6ad23d6528748ad3879394b8709513c5.tar.bz2
ENH: add support for VCExpress 2005
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"