Top Level Namespace

Defined Under Namespace

Modules: Rscons

Constant Summary collapse

USAGE =

CLI usage string.

<<EOF
Usage: #{$0} [global options] [operation] [operation options]

Global options:
  -F, --show-failure          Show failed command log from previous build and exit
  --version                   Show rscons version and exit
  -h, --help                  Show rscons help and exit
  -r COLOR, --color=COLOR     Set color mode (off, auto, force)
  -v, --verbose               Run verbosely

Operations:
  configure                   Configure the project
  build                       Build the project
  clean                       Remove build artifacts (but not configuration)
  distclean                   Remove build directory and configuration
  install                     Install project to installation destination
  uninstall                   Uninstall project from installation destination

Configure options:
  -b BUILD, --build=BUILD     Set build directory (default: build)
  --prefix=PREFIX             Set installation prefix (default: /usr/local)

Build options:
  -j N, --nthreads=N          Set number of threads (local default: #{Rscons.application.n_threads})

EOF