diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-05-08 20:59:27 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-05-08 20:59:27 (GMT) |
commit | 6112e7fc160e611e2b7e299dec5b67dacc3e4c49 (patch) | |
tree | f752adadaab48dcffde487533848ff0e47f2fd6b /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 93f806e5636f7131ddbea40b1567385efc849d73 (diff) | |
download | CMake-6112e7fc160e611e2b7e299dec5b67dacc3e4c49.zip CMake-6112e7fc160e611e2b7e299dec5b67dacc3e4c49.tar.gz CMake-6112e7fc160e611e2b7e299dec5b67dacc3e4c49.tar.bz2 |
add support for vs 71
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 50e6842..ee7225b 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -24,6 +24,7 @@ cmLocalVisualStudio7Generator::cmLocalVisualStudio7Generator() { + m_Version71 = false; } cmLocalVisualStudio7Generator::~cmLocalVisualStudio7Generator() @@ -995,9 +996,17 @@ cmLocalVisualStudio7Generator::WriteProjectStart(std::ostream& fout, { fout << "<?xml version=\"1.0\" encoding = \"Windows-1252\"?>\n" << "<VisualStudioProject\n" - << "\tProjectType=\"Visual C++\"\n" - << "\tVersion=\"7.00\"\n" - << "\tName=\"" << libName << "\"\n" + << "\tProjectType=\"Visual C++\"\n"; + if(m_Version71) + { + fout << "\tVersion=\"7.10\"\n"; + } + else + { + fout << "\tVersion=\"7.00\"\n"; + } + + fout << "\tName=\"" << libName << "\"\n" << "\tSccProjectName=\"\"\n" << "\tSccLocalPath=\"\"\n" << "\tKeyword=\"Win32Proj\">\n" |