Fix space pb (embended, then escaped)

This commit is contained in:
Sebastien Barre 2001-11-29 14:51:35 -05:00
parent 765934fea9
commit e8dade9420

View File

@ -374,8 +374,9 @@ void cmNMakeMakefileGenerator::OutputSharedLibraryRule(std::ostream& fout,
depend += "_SRC_OBJS) $(" + std::string(name) + "_DEPEND_LIBS)"; depend += "_SRC_OBJS) $(" + std::string(name) + "_DEPEND_LIBS)";
std::string command = "link /dll @<<\n"; std::string command = "link /dll @<<\n";
command += "$(" + std::string(name) + "_SRC_OBJS) /out:"; command += "$(" + std::string(name) + "_SRC_OBJS) /out:";
std::string dllpath = m_LibraryOutputPath + std::string(name) + ".dll "; std::string dllpath = m_LibraryOutputPath + std::string(name) + ".dll";
command += cmSystemTools::EscapeSpaces(dllpath.c_str()); command += cmSystemTools::EscapeSpaces(dllpath.c_str());
command += " ";
std::strstream linklibs; std::strstream linklibs;
this->OutputLinkLibraries(linklibs, name, t); this->OutputLinkLibraries(linklibs, name, t);
linklibs << std::ends; linklibs << std::ends;