summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-12-16 23:28:43 (GMT)
committerBrad King <brad.king@kitware.com>2002-12-16 23:28:43 (GMT)
commit728d3da73797e0c615996d0015c91d8b5c312020 (patch)
treea75b77177c669b15134e2a485892b1078b78e969 /Source/cmLocalVisualStudio7Generator.cxx
parent1ac5fb545f5287f49d6b4a397d69f1a6051be1f3 (diff)
downloadCMake-728d3da73797e0c615996d0015c91d8b5c312020.zip
CMake-728d3da73797e0c615996d0015c91d8b5c312020.tar.gz
CMake-728d3da73797e0c615996d0015c91d8b5c312020.tar.bz2
BUG: Cannot remove quotes from defined flags.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 325ea9b..b5c7613 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -572,7 +572,8 @@ void cmLocalVisualStudio7Generator::OutputDefineFlags(std::ostream& fout)
define = defs.substr(pos+2);
done = true;
}
- cmSystemTools::ReplaceString(define, "\"", "");
+
+ cmSystemTools::ReplaceString(define, "\"", "&quot;");
fout << define << ",";
if(!done)
{