ENH: use better command for creating static library

This commit is contained in:
Bill Hoffman 2001-12-20 15:45:37 -05:00
parent d354ac5528
commit d1f66133a2
1 changed files with 3 additions and 1 deletions

View File

@ -303,12 +303,14 @@ void cmBorlandMakefileGenerator::OutputStaticLibraryRule(std::ostream& fout,
target = cmSystemTools::EscapeSpaces(target.c_str());
std::string depend = "$(";
depend += std::string(name) + "_SRC_OBJS)";
std::string command = "tlib @&&|\n\t /u ";
std::string command = "tlib @&&|\n\t /p256 /a ";
command += target;
command += " ";
std::string deleteCommand = "if exist ";
deleteCommand += target;
deleteCommand += " del ";
deleteCommand += target;
command += " $(";
command += std::string(name) + "_SRC_OBJS)";
command += "\n|\n";