Richard Hadsell wrote:
Vladimir Prus wrote:
By running
bjam --help
and reading the "Important Options:" part of the output, then using one of the option described there.
Sorry for sending you to docs instead of giving direct answer, but the output of --help is likely to save some questions in future.
Thanks for pointing out the 'bjam --help'.
Since I wondered why I missed the -d+2 option, I went back to the docs. It seems to be missing. Specifically, I looked at "Chapter 25. Boost.Build V2 User Manual". The Overview/Invocation link pointed to a section that described several options (--clean, ... --debug) and then pointed to the "Command line arguments" section of the Detailed reference. This describes the syntax, and is followed by a "Command line options" section, which says this:
All of the Boost.Build options start with the "--" prefix. They are described in the following table. FIXME: That table has moved into "User documentation" section and there's nothing we can add here. Remove this part?
Ah, I think we need to clean this part. There's a section about jam, which has documentation for -d+2, but it's separate place from where all Boost.Build options are documented. Perhaps I'll use some XInclude magic to bring them together. - Volodya