|
Boost-Build : |
Subject: Re: [Boost-build] Depending on external libraries
From: Fabien Chêne (fabien.chene_at_[hidden])
Date: 2012-10-03 03:51:45
Hi all,
2012/9/24 Steven Watanabe <watanabesj_at_[hidden]>:
> AMDG
>
> On 09/24/2012 01:19 PM, Paulo Márcio Figueiredo Alves wrote:
>> Hi,
>>
>> I'm wondering if there is a good way to depend on boost's source code
>> (boost or other library). Here is what I want (all libraries are using
>> boost build):
>>
>> /path/to/libraries
>> |
>> +-- <snip>
>>
>> #
>> # project-root.jam
>> #
>> exe my_proj
>> : main.cpp
>> /boost/filesystem
>> /zlib
>> /cryptopp
>> ;
>>
>>
>> Is that possible? If it is possible, and I believe it is, how can I do that?
>> I used third party libraries, but could be mine as well.
>>
>
> use-project /boost : /path/to/libraries/boost ;
I've got nearly the same question, but for "prebuilt" boost libraries.
I guess it does not exist, but wouldn't it be usefull to get them so
that one be able to write the following:
use-project /boost : /path/to/libraries/boost ;
exe proj
:
main.cpp
/boost//boost_filesystem_prebuilt
;
... and to get approximately (for G++)
g++ main.cpp -lboost_filesystem -lboost_system
-I/path/to/boost/includes -L/path/to/boost/libs -o proj
The point is to be able to depend on boost libraries without
recompiling them, consequently have prebuilt definitions for all
libraries into the boost jamroot. What do you think ?
Thank you.
-- Fabien
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk