Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-06-28 05:26:22

so, we've agreed to take build request from the command line in the simplest
possible form, for example

bjam my_target release debug

However, let's see what happens with more complex example. Internally, we can
have two build requests:

gcc <runtime-link>static borland release
gcc/<runtime-link>static borland release

And they are not equvivalent. When mapping it to the command line use current
Dave's suggestion, we'll have

gcc --runtime-link=static borland release

See the problem? We can't use "<" like in

gcc/<runtime-link>static borland release

because that's what we're trying to avoid. And using

gcc/--runtime-link=static borland release

is ugly. I propose using the following syntax

gcc runtime-link=static borland release
gcc/runtime-link=static borland release

IOW, to drop "--" from features. This imposes the additional requirement that
target names cannot contain "=", but no other problems. I considered using
"-" instead of "=" but that's possibly confusing. To save time, I'm going to
implement the proposed modification. I'm not partial about the syntax , so
can change it later.

- Volodya


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