Skip to content
Tal Liron edited this page Jan 15, 2017 · 1 revision

You can run your build script with --help or -h to see help.

Useful arguments:

  • --verbose will make both Rōnin and Ninja more verbose, making it easier to debug issues when they happen. This means more messages stating what the tools are doing, and more detailed error messages.
  • --debug and --no-debug to turn debugging mode on and off. Internally this just sets the value of the context's build.debug, which is false by default. Executors are designed to do the right thing with this value and make debug (as opposed to release) versions of the build. What this means varies, but it usually means including a symbol table in an executable and enabling various type checking.
  • --variant sets the default variant for projects, to facilitate cross-compiling (internally it sets the context's projects.default_variant). If projects don't set this explicitly, they will inherit this value. The value's default is taken from the host system. So, if you're running on a 64-bit Linux, it will be "linux64".
  • --set sets values in the context. Use the format "ns.name=value", for example --set paths.input_path=/usr/src --set sdl.static=true.
Clone this wiki locally