>>>>> "Alex" == Alex Hornby <[EMAIL PROTECTED]> writes:

Alex> This is a problem as Foo_real.cpp includes Foo_derived.h.

Alex> How can I get a result similar to the old BUILT_SOURCES, where
Alex> the commands to produce the derived source files for a target
Alex> are run _before_ the non derived source files of that target are
Alex> built?

Write dependencies that express what you mean:

  Foo_real.o Foo_real.lo : Foo_derived.h

I agree this isn't ideal.  Suggestions welcome, patches more so.

Alex> Is the solution to always make dependancies before a parallel
Alex> build commences?

No.  We used to do that and it has undesirable consequences.  (Well,
our implementation did.  But I do think our present direction is the
better one.)

Tom

Reply via email to