Boost logo

Boost Users :

Subject: Re: [Boost-users] Building boost b2 lzma options
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-11-21 22:09:33


AMDG

On 11/21/2017 02:21 PM, Michael Powell via Boost-users wrote:
> On Tue, Nov 21, 2017 at 4:03 PM, Edward Diener via Boost-users
> <boost-users_at_[hidden]> wrote:
>> <snip>I unzipped the Windows one in
>> E:\Utilities\lzma\xz523 and my user-config.jam line for x32 builds is:
>>
>> using lzma : 5.2.3 : <search>E:/Utilities/lzma/xz523/bin_i686
>> <include>E:/Utilities/lzma/xz523/include ;
>>
>> while my user-config.jam line for x64 builds is:
>>
>> using lzma : 5.2.3 : <search>E:/Utilities/lzma/xz523/bin_x86-64
>> <include>E:/Utilities/lzma/xz523/include ;
>>

 You don't necessarily need to switch user-config.jam.
You can use the requirements argument to control which
library is selected for a particular build variant:

using lzma : 5.2.3 : <search>... <include>... : <address-model>32 ;

>> I use different user-config.jam files when doing x32 and x64 version of
>> compilers, each of which gets symbolically linked to user-config.jam at the
>> right time.
>
> Can those be configured via CMake?
>

  You can configure it from the command line with
LZMA_INCLUDE/LZMA_LIBRARY_PATH.

> Is there full documentation over what the site-/user-config.jam file
> can contain?
>

  Yeah, that would be nice, wouldn't it? There's
documentation zlib and bzip2 via b2 --help zlib, but
that doesn't really help for lzma.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net