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());
|
target = cmSystemTools::EscapeSpaces(target.c_str());
|
||||||
std::string depend = "$(";
|
std::string depend = "$(";
|
||||||
depend += std::string(name) + "_SRC_OBJS)";
|
depend += std::string(name) + "_SRC_OBJS)";
|
||||||
std::string command = "tlib @&&|\n\t /u ";
|
std::string command = "tlib @&&|\n\t /p256 /a ";
|
||||||
command += target;
|
command += target;
|
||||||
|
command += " ";
|
||||||
std::string deleteCommand = "if exist ";
|
std::string deleteCommand = "if exist ";
|
||||||
deleteCommand += target;
|
deleteCommand += target;
|
||||||
deleteCommand += " del ";
|
deleteCommand += " del ";
|
||||||
deleteCommand += target;
|
deleteCommand += target;
|
||||||
|
|
||||||
command += " $(";
|
command += " $(";
|
||||||
command += std::string(name) + "_SRC_OBJS)";
|
command += std::string(name) + "_SRC_OBJS)";
|
||||||
command += "\n|\n";
|
command += "\n|\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user