[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-build
Subject: Re: [Boost-build] Setting layout from Jamfile
From: Antony Polukhin <antoshkka () gmail ! com>
Date: 2014-10-06 14:18:08
Message-ID: CAKqmYPbob-wu_J+QZ05S7UvyeDO-aibY+rDRE9gTV4xJEfvnvg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
2014-10-03 11:44 GMT+04:00 Vladimir Prus <ghost@cs.msu.su>:
> On 09/29/2014 09:01 PM, Antony Polukhin wrote:
>
>> Hi,
>>
>> Is there any way to force "system" layout for some of the shared
>> libraries from within Jamfile.v2?
>>
>> Setting <layout>system produces error:
>>
>> error: unknown feature "<layout>"
>> D:/boost/tools/build/src/build\feature.jam:359: in
>> expand-subfeatures-aux from module feature
>>
>
> Hi Antony,
>
> there's no way to set a layout - it's sort of global property at present.
> Of course, you can
> look at boostcpp.tag, at
>
> https://github.com/boostorg/boost/blob/master/boostcpp.jam#L117
>
> and reuse it, with possible factoring, or create your own tag function
> that would
> call common.format-name appropriately.
>
Thank you for the answer!
My knowledge of Bjam is not good, so instead of modifying boostcpp.jam I've
took config/auto_link.hpp as a base and made a macro to produce library
name. Now `"my_plugin_sum" BJAM_LIBRARY_DECORATIONS` becomes
`"my_plugin_sum-vc110-mt-gd-1_57"`.
--
Best regards,
Antony Polukhin
[Attachment #5 (text/html)]
<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2014-10-03 \
11:44 GMT+04:00 Vladimir Prus <span dir="ltr"><<a href="mailto:ghost@cs.msu.su" \
target="_blank">ghost@cs.msu.su</a>></span>:<br><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><span class="">On 09/29/2014 09:01 PM, Antony \
Polukhin wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Hi,<br>
<br>
Is there any way to force "system" layout for some of the shared libraries \
from within Jamfile.v2?<br> <br>
Setting <layout>system produces error:<br>
<br>
error: unknown feature "<layout>"<br>
D:/boost/tools/build/src/<u></u>build\feature.jam:359: in expand-subfeatures-aux from \
module feature<br> </blockquote>
<br></span>
Hi Antony,<br>
<br>
there's no way to set a layout - it's sort of global property at present. Of \
course, you can<br> look at boostcpp.tag, at<br>
<br>
<a href="https://github.com/boostorg/boost/blob/master/boostcpp.jam#L117" \
target="_blank">https://github.com/boostorg/<u></u>boost/blob/master/boostcpp.<u></u>jam#L117</a><br>
<br>
and reuse it, with possible factoring, or create your own tag function that would<br>
call common.format-name appropriately.<br>
</blockquote></div><br></div><div class="gmail_extra">Thank you for the \
answer!<br><br>My knowledge of Bjam is not good, so instead of modifying boostcpp.jam \
I've took config/auto_link.hpp as a base and made a macro to produce library \
name. Now `"<span class="">my_plugin_sum"</span> <span \
class="">BJAM_LIBRARY_DECORATIONS`</span> become<span class="">s \
`"my_plugin_sum-vc110-mt-gd-1_57"</span><span class=""></span>`.<br><br>-- \
<br>Best regards,<br>Antony Polukhin </div></div>
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic