Boost logo

Boost-Build :

Subject: Re: [Boost-build] PATCH: Add support for Windows SDK 7.0 and 7.1
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-10-23 07:22:28


On Tuesday, September 28, 2010 11:33:21 Adam Ehlers Nyholm Thomsen wrote:
> Hi
> The attached patch adds support for building boost using Windows SDK
> 7.0 and Windows SDK 7.1. It is my first attempt at writing jam code so
> it could probably be greatly improved by having a more seasoned jam
> coder take a look at it.
>
> Beware: The patch doesn't work for debug shared builds currently since
> the double link bug I reported earlier results in command-lines which
> do not run using this patch.
>
> The Windows SDK is a bundle from Microsoft with the headers, libraries
> and tools, including compilers, necessary for windows development. The
> compilers included in SDK 7.0 and 7.1 are the same as the compilers
> included in VS 2008 and 2010 respectively. Since the Windows SDK is
> available for download free-of-charge I believe it would be a benefit
> for boost to have out of the box support for it.
>
> The only difference build system wise between the SDK and VS proper is
> that the SDKs use a different environment setting script which has to
> be called a little differently.

Hi Adam,

Thanks for the patch. I've only now had a chance to try it on Windows.
However, doing just "bjam" appears not to work -- it seem to detect
version as 10.0, and your new logic is not invoked.

Do I have to do something else? Can better autodetection be implemented?

Thanks,

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

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