git-svn-id: svn://db.shs.com.ru/libs@855 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2020-03-18 21:11:23 +00:00
parent 2aad4053ba
commit 8a3153377f

View File

@@ -33,7 +33,7 @@ void usage() {
piCout << "If <file> depend on QtCore library, then copy all basic Qt plugins, ";
piCout << "<styles> and <platform>";
piCout << "";
piCout << Green << Bold << "Usage:" << Default << "\"deploy_tool [-hvfC] <-o <out_path> | --dependencies > [-p <qt_plugins>] [-s <search_path>] [-S <styles>] [-l <ldd>] [-D <dpkg>] [-L <readelf> | -W <objdump> | -M <otool>] [-d <depth>] [-q <qtdir>] [-a <add_libs>] [-S <styles>] [-P <platforms>] <file>\"" << NewLine;
piCout << Green << Bold << "Usage:" << Default << "\"deploy_tool [-hvfC] <-o <out_path> | --dependencies [--prefix <text>] > [-p <qt_plugins>] [-s <search_path>] [-S <styles>] [-l <ldd>] [-D <dpkg>] [-L <readelf> | -W <objdump> | -M <otool>] [-d <depth>] [-q <qtdir>] [-a <add_libs>] [-S <styles>] [-P <platforms>] <file>\"" << NewLine;
piCout << Green << Bold << "Details:";
piCout << Bold << "Debug control";
piCout << "-h " << Green << "- display this message and exit";
@@ -56,6 +56,7 @@ void usage() {
piCout << "-o <out_path> " << Green << "- path for libraries copy to";
piCout << "-p <qt_plugins> " << Green << "- path for Qt plugins, default \"<out_path>/plugins\"";
piCout << "--dependencies " << Green << "- don`t copy, only search dependencies by <dpkg> and print them";
piCout << "--prefix <text> " << Green << "- print <text> before dependencies";
piCout << "";
piCout << Bold << "Input control";
piCout << "<file> " << Green << "- executable to process";
@@ -311,6 +312,7 @@ int main(int argc, char * argv[]) {
cli.addArgument("Conf");
cli.addArgument("fake");
cli.addArgument("dependencies", PIChar('\0'));
cli.addArgument("prefix", PIChar('\0'), true);
cli.addArgument("output", true);
cli.addArgument("pqt_out_plugins", true);
cli.addArgument("search_path", true);
@@ -412,6 +414,7 @@ int main(int argc, char * argv[]) {
}
if (is_deps) {
PICout(PICoutManipulators::AddNone) << cli.argumentValue("prefix");
PICout(PICoutManipulators::AddNewLine) << PIStringList(all_deps.toVector()).join(", ");
} else {
piCout << "copied" << clibs.size_s() << "files";