[CMake] Following dependencies through generated header file
Óscar Fuentes
ofv at wanadoo.es
Sat Oct 2 20:01:12 EDT 2010
Michael Hertling <mhertling at online.de>
writes:
>> It would be very convenient to inspect the header files referenced from
>> `zoo.cpp' and associate them with `bar.inc', so when some of those
>> header files are touched `bar.inc' (and hence `foo.cpp') is
>> automatically re-built.
>>
>> Is this possible?
>
> Yes, with a bit of trickiness:
[snip]
Thanks for idea, Michael, sounds interesting, although having to use a
library is an incovenience, mainly for the people who use IDEs. (The
project I'm working on would need more than 20 such libraries)
More information about the CMake
mailing list