Boost logo

Boost :

Subject: Re: [boost] Using both boost 64 and 32 bit on Windows with CMake
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2013-04-18 05:58:08


On Thu, Apr 18, 2013 at 11:36 AM, Rob Stewart <robertstewart_at_[hidden]>wrote:

> I see no reason against choosing a subdirectory structure in which to
> place 32 and 64 bit libraries. However, if Program Files is the install
> location, Windows already distinguishes between them: Program Files and
> Program Files (x86). IOW, if that's the install location, the
> subdirectories aren't needed (though one can still be used in each
> location).

The location of the boost install is solved by specifying Boost_DIR (or
BOOST_DIR?) as an environment variable (using FindBoost module)
It's indeed the directory of binaries inside that install location which is
found automatically by the module only for one architecture.

> I vote for simple, straightforward names, like 32 and 64, for the
subdirectories, BTW.

I agree it would make things straightforward.
The changes necessary would just be to set these as default directories for
output binaries into b2 (on windows only?) and the windows installer I
think.
Then a patch to the FindBoost module can finally happen.

Joel Lamotte


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk