|
|
9ca8c4 |
#include "slibtool_driver_impl.h"
|
|
|
9ca8c4 |
#include "argv/argv.h"
|
|
|
9ca8c4 |
|
|
|
9ca8c4 |
const struct argv_option slbt_default_options[] = {
|
|
|
070b2a |
{"version", 0,TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
|
|
|
9ca8c4 |
"show version information"},
|
|
|
9ca8c4 |
|
|
|
803034 |
{"help", 'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,0,0,0,
|
|
|
803034 |
"show usage information"},
|
|
|
9ca8c4 |
|
|
|
efd47f |
{"help-all", 'h',TAG_HELP_ALL,ARGV_OPTARG_NONE,0,0,0,
|
|
|
efd47f |
"show comprehensive help information"},
|
|
|
efd47f |
|
|
|
efd47f |
{"mode", 0,TAG_MODE,ARGV_OPTARG_REQUIRED,0,
|
|
|
efd47f |
"clean|compile|execute|finish"
|
|
|
efd47f |
"|install|link|uninstall",0,
|
|
|
efd47f |
"set the execution mode"},
|
|
|
efd47f |
|
|
|
efd47f |
{"dry-run", 'n',TAG_DRY_RUN,ARGV_OPTARG_NONE,0,0,0,
|
|
|
efd47f |
"do not spawn any processes, "
|
|
|
efd47f |
"do not make any changes to the file system"},
|
|
|
efd47f |
|
|
|
efd47f |
{"tag", 0,TAG_TAG,ARGV_OPTARG_REQUIRED,0,
|
|
|
efd47f |
"CC|CXX",0,
|
|
|
efd47f |
"a universal playground game"},
|
|
|
efd47f |
|
|
|
efd47f |
{"config", 0,TAG_CONFIG,ARGV_OPTARG_NONE,0,0,0,
|
|
|
efd47f |
"display configuration information"},
|
|
|
efd47f |
|
|
|
efd47f |
{"debug", 0,TAG_DEBUG,ARGV_OPTARG_NONE,0,0,0,
|
|
|
efd47f |
"display internal debug information"},
|
|
|
efd47f |
|
|
|
efd47f |
{"features", 0,TAG_FEATURES,ARGV_OPTARG_NONE,0,0,0,
|
|
|
efd47f |
"show feature information"},
|
|
|
efd47f |
|
|
|
efd47f |
{"no-warnings", 0,TAG_WARNINGS,ARGV_OPTARG_NONE,0,0,0,""},
|
|
|
efd47f |
|
|
|
efd47f |
{"preserve-dup-deps", 0,TAG_DEPS,ARGV_OPTARG_NONE,0,0,0,
|
|
|
efd47f |
"leave the dependency list alone"},
|
|
|
efd47f |
|
|
|
efd47f |
{"quiet", 0,TAG_SILENT,ARGV_OPTARG_NONE,0,0,0,
|
|
|
efd47f |
"do not say anything"},
|
|
|
efd47f |
|
|
|
efd47f |
{"silent", 0,TAG_SILENT,ARGV_OPTARG_NONE,0,0,0,
|
|
|
efd47f |
"say absolutely nothing"},
|
|
|
efd47f |
|
|
|
efd47f |
{"verbose", 0,TAG_VERBOSE,ARGV_OPTARG_NONE,0,0,0,
|
|
|
efd47f |
"generate lots of informational messages "
|
|
|
efd47f |
"that nobody can understand"},
|
|
|
efd47f |
|
|
|
efd47f |
{"warnings", 0,TAG_WARNINGS,ARGV_OPTARG_REQUIRED,0,
|
|
|
efd47f |
"all|none|error",0,
|
|
|
efd47f |
"set the warning reporting level"},
|
|
|
efd47f |
|
|
|
efd47f |
{"W", 0,TAG_WARNINGS,ARGV_OPTARG_REQUIRED,
|
|
|
efd47f |
ARGV_OPTION_HYBRID_ONLY|ARGV_OPTION_HYBRID_JOINED,
|
|
|
efd47f |
"all|none|error","",
|
|
|
efd47f |
"convenient shorthands for the above"},
|
|
|
efd47f |
|
|
|
9ca8c4 |
{0,0,0,0,0,0,0,0}
|
|
|
9ca8c4 |
};
|