|
Boost-Build : |
From: Jurko GospodnetiÄ (jurko.gospodnetic_at_[hidden])
Date: 2008-06-30 06:34:32
Hi Andrej.
>> Does the install rule together with a GLOB or
>> glob-tree rule for
>> selecting all files in a folder as sources help?
>>
>
> Yes it does for the boost libs. Is it also possible to
> get different sources with different operating
> systems, similar to specifying for example location
> below?
>
> install dist-lib
> : [ glob $(boost-library-path)/*boost_system* ]
> [ glob $(boost-library-path)/*boost_thread* ]
> [ glob $(boost-library-path)/*boost_regex* ]
> : <install-type>SHARED_LIB
> <os>CYGWIN:<location>$(install-path)
> <os>LINUX:<location>$(install-path)/lib
> <os>AIX:<location>$(install-path)/lib
> ;
I'm not really sure I understand your question. The example you
posted should work just fine - using a different install location on
different OS's.
I just tested it on a bit different example:
install dist-lib
:
xxx.txt
:
<link>static:<location>dist-static
<link>shared:<location>dist-shared ;
Which correctly copied the xxx.txt file to dist-static in case
lint=static and to dist-shared in case link=shared.
Hope this helps.
Best regards,
Jurko GospodnetiÄ
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