Boost logo

Boost-Build :

From: Andrey Melnikov (melnikov_at_[hidden])
Date: 2005-08-12 22:35:27


David Abrahams wrote:
> Andrey Melnikov <melnikov_at_[hidden]> writes:
>
>
>>David Abrahams wrote:
>>
>>
>>>Surely we can auto-configure everything that can be detected using the
>>>windows registry?
>>>
>>
>>We can find the real bottleneck only by profiling. IMO switching to
>>registry won't help us a lot.
>
>
> import msvc-config ;
>
> et al already use the registry.

I know.
>
>
>>I think that most of the initialization
>>time is taken by other activities, and the registry isn't much faster
>>than the environment.
>>
>>Also we cannot rely on the registry even for MSVC because private
>>installations don't use it.
>
>
> Nobody mentioned *relying* on it. The user's explicit configurations
> will always take precedence.
>
By "relying" I mean cancelling the old autodetection method using
environment variables. We cannot cancel it because the registry still
can fail.

With default VS installations the environment always work. In specific
cases both environment and registry fail. Now I doubt that we should use
registry autodetection. It isn't less fragile than the environment.

Andrey

 


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