[CMake] [boost][b2] Differenciate 32bit and 64 bit binaries when using CMake.

Slava Viatcheslav.Sysoltsev at h-d-gmbh.de
Tue Apr 16 03:15:39 EDT 2013


On Mon, 15 Apr 2013 16:59:25 +0200, Klaim - Joël Lamotte  
<mjklaim at gmail.com> wrote:

>
> For now I think the simplest solution would be to make b2 use a default
> 64bit lib directory
> when the directory is unspecify. Then FindBoost cmake module can rely on
> this knowledge to try to find the right binaries,
> based on BOOST_Dir, instead of always using the same binaries by default.
>
> Does it seem like a good solution to you?
>

In my experience finding/adapting packages for crosscompiling 64->32 is  
much more troublesome than setting up 32-bit chroot and using it for  
32-bit builds.

-- Slava



More information about the CMake mailing list