Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-07-02 09:20:07


Hello,
I'm just implementing support for the following:

alias everything : [ exe main : main.cpp ] ;

I.e. declaration of targets inside other targets. I'm thinking that such
target should be local to the enclosing main rule, which would allow to write

test-suite first : [ test basic : ... ] ;
test-suite second : [ test basic : ... ]

So, name of inline target much be implicitly qualified by the name of
encloding rule, and the user will be able to say

bjam first::basic
bjam second::basic

Does this look reasonable so far? If yes, then the question: what separator to
use? "::" seem to confuse bjam/cmd.exe on Windows, and I plan to use "." for
some other purpose. '-' is not good either, because user is allowed to use
it. Any suggestions? For example, is "@" reserved character for any OS?

TIA,
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