Boost logo

Boost Users :

Subject: Re: [Boost-users] build under MSVC with changed library name
From: Kraus Philipp (philipp.kraus_at_[hidden])
Date: 2012-08-22 08:54:49


Am 22.08.2012 um 14:21 schrieb Jurko Gospodnetić:

> Hi.
>
>> I'm using Boost under MSVC (build from source). Can I change the output
>> library name of the compiled libs?
>> Under unix systems the libs are named: libboost_<sublib>.so
>> Under Windows ( http://www.boost.org/doc/libs/1_50_0/more/
>> getting_started/windows.html#or-simplified-build-from-source ) there
>> are a lot of other information in the filename.
>> So I need only a special build type (no debug, mt, etc), so I would
>> like to tell b2, that the name of the libraries are only
>> boost_<sublib>.dll under Windows.
>
> I am not really sure I understand what you want here, but does perhaps the Boost library build script's '--layout' options solve your problems? It changes the way Boost library targets get their file names generated.
>
> Hope this helps.

I found the --layout option also, but I don't know how to use the option. I think this flag can solve my problem, but do you have any documentation?

Thanks

Phil


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