[Scons-users] How to augment the link step?

Bill Deegan bill at baddogconsulting.com
Mon Jun 13 15:45:00 EDT 2016


Daniel,

It only matters if your action string references values in your
Environment(). If not then it doesn't matter.

-Bill

On Mon, Jun 13, 2016 at 3:42 PM, Daniel Holth <dholth at gmail.com> wrote:

> In this case does it matter whether you call the one on env. or the global
> AddPostAction?
>
> On Mon, Jun 13, 2016 at 2:18 PM Bill Deegan <bill at baddogconsulting.com>
> wrote:
>
>> One (simplest) option would be to use:
>> AddPostAction(target, action) , env.AddPostAction(target, action)
>>
>> Arranges for the specified action to be performed after the specified
>> target has been built. The specified action(s) may be an Action object,
>> or anything that can be converted into an Action object (see below).
>>
>> When multiple targets are supplied, the action may be called multiple
>> times, once after each action that generates one or more targets in the
>> list.
>>
>> See: http://scons.org/doc/production/HTML/scons-man.html
>>
>>
>> Alternatively, you could add an additional action to the builder, but
>> that would be more complex.
>>
>> What exactly will the special operation do?
>>
>> (If you can provide example command line that would be ideal)
>>
>>
>> -Bill
>>
>>
>> On Mon, Jun 13, 2016 at 1:41 PM, ljbo <luc_j_bourhis at mac.com> wrote:
>>
>>> I would like to perform a last, special operation on all libraries
>>> produced
>>> with env.SharedLibrary. How would I add the required step?
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://scons.1086193.n5.nabble.com/How-to-augment-the-link-step-tp40059.html
>>> Sent from the Users mailing list archive at Nabble.com.
>>> _______________________________________________
>>> Scons-users mailing list
>>> Scons-users at scons.org
>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>
>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160613/9bff759e/attachment.html>


More information about the Scons-users mailing list