Boost logo

Boost-Build :

Subject: Re: [Boost-build] A few questions
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2015-03-12 18:49:56


On 03/12/2015 03:27 PM, Steve Lorimer wrote:
> Vladimir, saw your 64-bit example
>
> There's also lower-level, possibly more flexiible, configure.builds, see example at:
>
> https://github.com/boostorg/__build/blob/server/example/__libraries/app/jamfile.jam
> <https://github.com/boostorg/build/blob/server/example/libraries/app/jamfile.jam>
> https://github.com/boostorg/__build/blob/server/example/__libraries/jamroot.jam
> <https://github.com/boostorg/build/blob/server/example/libraries/jamroot.jam>
>
> Please forgive my lack of understanding! Could you explain or point me to docs re what is happening in the jamroot:
>
> obj 64 : 64.cpp ;
> explicit 64 ;
>
> I don't see a 64.cpp file in github

That's because I forgot to add it - I've pushed a new commit, but not that the 64.cpp file has
intentional bug for now so the test will turn out false.

>
> if [ configure.builds /libraries//64 : : 64-bit ] {

It tries to generate and build the specified metarget, and returns either true or false, which we can use.
"64-bit" is the name of test that will be reported to user.

-- 
Vladimir Prus
http://vladimirprus.com

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