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.

Hi,
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:

http://vladimir_prus.blogspot.com/2004/07/windows-command-line.html

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

- Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk