[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-build
Subject: Re: [Boost-build] Manipulating requirements based on a program's return value
From: Edward Diener <eldiener () tropicsoft ! com>
Date: 2016-05-24 23:10:22
Message-ID: ni2n13$6su$1 () ger ! gmane ! org
[Download RAW message or body]
On 5/24/2016 6:48 PM, Steven Watanabe wrote:
> AMDG
>
> On 05/24/2016 04:18 PM, Edward Diener wrote:
>> On 5/24/2016 5:14 PM, Steven Watanabe wrote:
>>>
>>> <snip>
>>> Try configure.check-target-builds. It's mostly
>>> used to check compiles, but it can also be used
>>> for an arbitrary target.
>>
>> Yes, that is what I have been looking at. It seems as if I must either
>> create some target or not create some target for check-target-builds to
>> work. So it seems as if my run_some_program must be in an action which
>> either creates some target or not. Is that the idea ?
>
> Yes.
>
>> If so, how do I
>> pass pass_some_parameter to my action ?
>
> Unless you can hard-code the parameter in the
> action, you'll want to use a feature for it.
>
> http://www.boost.org/build/doc/html/bbv2/extending/features.html
Thanks !
>
>> Or is it that I have to build
>> run_some_program each time with my pass_some_parameter being some
>> #define which tells my run_some_program what to do ?
>>
>
> In Christ,
> Steven Watanabe
_______________________________________________
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