[Insight-developers] dependency checks

Brad King brad.king at kitware.com
Wed Aug 11 09:07:19 EDT 2004


Simon Warfield wrote:

> I was looking at the test_math.cxx code and it seems that the generated 
> dependencies for test_math.o only list .h files.
> If the .cxx file is changed, the build system doesn't appear to know 
> that the .o file depends on that and needs to be updated.
> 
> How can I specify that test_math.o should be rebuilt if test_math.cxx is 
> altered ?

The dependencies listed in cmake.depends are the ones generated by 
scanning through included files.  The main dependency on the .cxx file 
is in the makefile itself:

test_math.o: /.../Utilities/vxl/core/vnl/tests/test_math.cxx

-Brad



More information about the Insight-developers mailing list