|
Boost-Build : |
From: Alexey Pakhunov (alexeypa_at_[hidden])
Date: 2005-09-16 13:18:47
Vladimir Prus wrote:
> Can you send them all now? I'll still review and commit them one-by-one but ti
> will help me to see the next step.
Actually I posted them as 'the big patch.' See
http://article.gmane.org/gmane.comp.lib.boost.build/10141.
Things you are interested in all are in msvc.jam:
>>> 5. new configure rule
rule init
rule configure
rule configure-really
>>> 6. "configure all" syntax
rule configure
>>> 7. "version registration" framework
rule register-configuration
autodetection code
This will be enough for review purposes. Meanwhile, I'll prepare and
post the patches.
>>This is the state when a toolset configuration is detected (by
>>autodetection code) but 'toolset.using' for this configuration wasn't
>>yet called.
> And:
> 1. How a toolset can get in this state? After
> configure gcc : all ;
> ?
Autodetection code is called when a module is imported. It puts all
detected configurations to an instance of 'configurations' class
(.versions). Some time later 'toolset.using' is called. Any of the
following in any combinations:
# configure all detected configurations from .versions
using msvc : all ;
# configure 8.0 if it was detected or try to create a new configuration
# with default parameters for 8.0
using msvc : 8.0 ;
# configure default configuration
using msvc : default ;
# configure default configuration
using msvc ;
# patch parameters of 8.0 and configure it with new parameters
using msvc : 8.0 : "C:\\Program Files\\Microsoft Visual Studio
8\\VC\\bin\\cl.exe"
Resume: 'registered' configuration is simply saved configuration that
has been detected. It will be really configured only when
'toolset.using' will be called.
>
> 2. What can I do with toolset in that state? Can I request such toolset on
> command line? Say:
>
> bjam toolset=gcc-4.20
You can do nothing until you call 'toolset.using'.
>
> 3. I'd expect toolset.using to be called for all invocations of "configure".
> Do you mean "configure with explicit version"?
Sorry, I didn't understand. Can you explain a bit more?
Best regards/Venlig hilsen,
Alexey Pakhunov.
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