ENH: use better command for creating static library
This commit is contained in:
parent
d354ac5528
commit
d1f66133a2
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue