Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-26 01:30:35

On Monday 25 October 2004 20:27, mdrumheller wrote:
> I have a question about the rules for quotation marks
> on the bjam command line. In my reading of the Jam
> documentation, I cannot find anything that tells me
> whether the correct way to specify multiple options
> (e.g., when running the 'install' target) is like this
> % bjam "-sOPTION1=foo -sOPTION2=bar" install
> or like this
> % bjam "-sOPTION1=foo" "-sOPTION2=bar" install
> It could be me--maybe I'm just missing something--but
> I think it would be nice of the documentation were
> very loud and clear about this.
> Thanks,
> Mike D.

I believe the quotation marks have nothing to do with Jam -- they are
processed by command shell and Jam does not even get them.

You should consult docs for your shell. On Linux that's "man bash". On
Windows, I don't have an exact reference, but I written a rant on the topic:

Concerning your example, both usages are the same. And you can drop quotation
marks as well.

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at