On Tue, Mar 15, 2016 at 10:06:12 -0400, Brad King wrote:
> add_custom_command(OUTPUT foo.h ...)
> add_library(foo foo.c foo.h)
> add_library(bar bar.c)
> target_link_libraries(bar foo)
>
> The order-only dependency of `bar.c.o` on the target `foo` is just
> in case `bar.c` needs to
On 03/14/2016 07:39 PM, Matthias Männich wrote:
> increase build parallelism by omitting dependencies of object file
> targets to the libraries they will be linked with in a later step.
Nice. I like the idea of doing that, but I think it can be made
automatic and safe without an explicit option
Hi,
this is a patch that we use since some time for a quite large in-house
project. The idea behind is to increase build parallelism by omitting
dependencies of object file targets to the libraries they will be linked
with in a later step. As this is not always the desired behaviour the
default