]> Creatis software - clitk.git/commit
We need to find a better way to fix this.
authordelmon <delmon>
Mon, 4 Apr 2011 13:31:01 +0000 (13:31 +0000)
committerdelmon <delmon>
Mon, 4 Apr 2011 13:31:01 +0000 (13:31 +0000)
commit3c16b9312456025cbf9ace40996a1962551bb889
tree26dabce802f4ccd2fff315955b3d1f22b8f72385
parent5008029610bc19d1d4294a9c025448016648b366
We need to find a better way to fix this.
The problem arises when a target depends on a ggo.h but does not depends on the
ggo.c.
When a target depends on a ggo.c it is explicitly listed in its dependencies
including the custom command that generates it.
When the ggo.h is include in a cxx included in a target CMake has no way to
know it and does not include the custom command that generates it.

In this patch I manually add the dependency between the cxx and the ggo.h.
tools/CMakeLists.txt