Boost logo

Boost Users :

Subject: Re: [Boost-users] --layout=system in user-config.jam?
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-11-17 05:10:54


Raymond Wan wrote:

>
> Hi all,
>
> In a recent post (a few weeks ago), someone asked if it is possible to
> remove the compiler name/version from the library name.
>
> i.e., libboost_math_c99-gcc43-mt-1_37.so --> libboost_math_c99-mt.so
>
> Someone replied that adding "--layout=system" to bjam would do the trick
> and indeed, that worked. When compiling Boost, I was wondering if it is
> possible to add this parameter to the user-config.jam file, rather than
> editting the Makefile directly? If so, what would be the syntax to do
> this? Somewhere, I read that user-config.jam "define[s] available
> toolsets" -- I guess this parameter is not a toolset, so it is not possible?
>
> The reason I am asking is rather silly -- but just that editting the
> Makefile is slightly more error-prone than sending a user-config.jam to
> someone (or backing it up myself for later use) since the Makefile could
> change based on what configure outputs.

It is not possible currently. For next Boost release, it will be possible
to have, in your project, a file called project-config.jam that can specify
pretty much everything. That, additionally, will make configure/make approach
no longer relevant.

- Volodya


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