From f3cfbce074bde5e20f432c1abee4f5a5a26686e3 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 11 Jun 2002 12:16:46 -0400 Subject: [PATCH] BUG: RelativePath should not be quoted in output files even if it has spaces --- Source/cmMSDotNETGenerator.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/cmMSDotNETGenerator.cxx b/Source/cmMSDotNETGenerator.cxx index 4839bf8df..87dccc8c4 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\tConvertToXMLOutputPath(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";