From: Alexey Pakhunov (alexeypa_at_[hidden])
Date: 2005-09-08 14:04:50
Resending the message. The previous one did not appear in the list.
> Andrey Melnikov wrote:
>> This approach will give us a better control over search paths,
>> especially in case of Platform SDK replacement.
> One note: INCLUDE and LIB should be set too because the order of
> directories is important in this case.
>> Platform SDK, C Runtime Library, STL, ATL, MFC are just libraries. It
>> isn't absolutely necessary to treat them specially. Theoretically, we
>> can just use a single setup command (for VC8):
>> set PATH=%BASE%\Common7\IDE;%PATH%
> I think we should set all variables that 'vcvars32.bat' set. We should
> 'replicate' the build environment for the compiler as precise as
> possible. For instance some .dll may not be found if we omit
> directories in the PATH. Sure it is more potential than real problem
> but it can happen.
>> What do you think? Is this feasible? Will this be be better than all
>> the mess we are going to get with our current approach? Remember, we
>> are going to implement setenv.cmd functions manually for the Platform
> I agree with you that such an approach will give us much more
> flexibility. The only reason why I don't like this idea is that we
> will need to reimplement functionality 'vcvars32.bat' for all versions
> of VS we support now. Once we do it it will be easy to add support of
> future versions.
> 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