git-svn-id: svn://db.shs.com.ru/libs@853 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -324,8 +324,6 @@ int main(int argc, char * argv[]) {
|
|||||||
cli.addArgument("depth", true);
|
cli.addArgument("depth", true);
|
||||||
cli.addArgument("qtdir", true);
|
cli.addArgument("qtdir", true);
|
||||||
cli.addArgument("add_libs", true);
|
cli.addArgument("add_libs", true);
|
||||||
piDebug = cli.hasArgument("verbose");
|
|
||||||
fake = cli.hasArgument("fake");
|
|
||||||
is_deps = cli.hasArgument("dependencies");
|
is_deps = cli.hasArgument("dependencies");
|
||||||
if (cli.hasArgument("help") || (cli.argumentValue("output").isEmpty() && !is_deps) || (cli.optionalArguments().size_s() != 1)) {
|
if (cli.hasArgument("help") || (cli.argumentValue("output").isEmpty() && !is_deps) || (cli.optionalArguments().size_s() != 1)) {
|
||||||
usage();
|
usage();
|
||||||
@@ -333,6 +331,8 @@ int main(int argc, char * argv[]) {
|
|||||||
}
|
}
|
||||||
setCommands();
|
setCommands();
|
||||||
|
|
||||||
|
fake = cli.hasArgument("fake");
|
||||||
|
piDebug = cli.hasArgument("verbose");
|
||||||
PIString bin = cli.optionalArguments()[0];
|
PIString bin = cli.optionalArguments()[0];
|
||||||
out_dir = cli.argumentValue("output");
|
out_dir = cli.argumentValue("output");
|
||||||
lib_dirs = cli.argumentValue("search_path").split(";");
|
lib_dirs = cli.argumentValue("search_path").split(";");
|
||||||
|
|||||||
Reference in New Issue
Block a user