summaryrefslogtreecommitdiffstats
path: root/Source/cmMSDotNETGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-06-11 16:16:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-06-11 16:16:46 (GMT)
commitf3cfbce074bde5e20f432c1abee4f5a5a26686e3 (patch)
tree0c83e5ac4a622c7f406145549df23ff5b4e68e72 /Source/cmMSDotNETGenerator.cxx
parent06047d14bba66a43dade158cdb133d5106b07e92 (diff)
downloadCMake-f3cfbce074bde5e20f432c1abee4f5a5a26686e3.zip
CMake-f3cfbce074bde5e20f432c1abee4f5a5a26686e3.tar.gz
CMake-f3cfbce074bde5e20f432c1abee4f5a5a26686e3.tar.bz2
BUG: RelativePath should not be quoted in output files even if it has spaces
Diffstat (limited to 'Source/cmMSDotNETGenerator.cxx')
-rw-r--r--Source/cmMSDotNETGenerator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmMSDotNETGenerator.cxx b/Source/cmMSDotNETGenerator.cxx
index 4839bf8..87dccc8 100644
--- a/Source/cmMSDotNETGenerator.cxx
+++ b/Source/cmMSDotNETGenerator.cxx
@@ -1101,7 +1101,9 @@ void cmMSDotNETGenerator::WriteVCProjFile(std::ostream& fout,
if (source != libName || target.GetType() == cmTarget::UTILITY)
{
fout << "\t\t\t<File\n";
- std::string d = this->ConvertToXMLOutputPath(source.c_str());
+ std::string d = cmSystemTools::ConvertToOutputPath(source.c_str());
+ // remove double quotes from the string
+ cmSystemTools::ReplaceString(d, "\"", "");
// Tell MS-Dev what the source is. If the compiler knows how to
// build it, then it will.
fout << "\t\t\t\tRelativePath=\"" << d << "\">\n";