[build2] Trigger compile of sources when their header dependencies change

Boris Kolpackov boris at codesynthesis.com
Wed Apr 12 14:39:17 UTC 2017


Hi Max,

Moldmann Max (DC-MA/ENG52-NA) <Max.Moldmann at boschrexroth-us.com> writes:

> file-a.o.d contains:
> 
> 1
> c.compile 1
> hash1
> hash2
> file-a.c
> 
> but does not contain "file-a.h". 
> But the file-a.d contains the header file:
> 
> module-a\_src\file-a.o: module-a\_src\file-a.c \
>   module-a\_src\/../_inc/file-a.h

Ok, I assume file-a.d is produced by your make-based build system.

Can you create a test project that reproduces this problem and send
it to me? I think this has something to do with the way things are
included (that 'src\/..' part looks bizarre).

Thanks,
Boris



More information about the users mailing list