« Return to Thread: [Boost][build] Bjam ordering source $(>) list

Re: [Boost][build] Bjam ordering source $(>) list

by Steven Watanabe-4 :: Rate this Message:

Reply to Author | View in Thread

AMDG

K. Noel Belcourt wrote:

> Thanks for the push, I dug in a bit more to see how sources $(>) are
> populated for the link action.
>
> In builtin.jam, linking-generator.generated-targets() is the place to
> alter what ends up in $(>), and in what order.  For my problem, I
> separated the OBJ sources from all other sources so I could place the
> OBJ before STATIC_LIB, etc...  The fix turned out to work beautifully
> as you can see here.
> <snip>
>
> This patch moves all objects before non-objects and retains their
> respective relative ordering, so as not to break the dependency ordering.
>
> Anyone think this is this worth committing to Boost.Build?

Maybe you can use unix-linking-generator which also
makes sure that dependent libraries are placed in the correct order?

In Christ,
Steven Watanabe

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

 « Return to Thread: [Boost][build] Bjam ordering source $(>) list