Ian Scott wrote:
> I quite like going into core's sub directories, typing make, and having the
> tests and examples subdirectories build as soon as the library is
Yes. And the reason this sounds good is that one normally expects that
if the library builds successfully, then the tests and examples will
build successfully. This is not currently true.
As you suggest,
> The solution there is to move all the vnl_algo tests into
is one solution. However, we still have a potential inconsistency
between build order and dependency order. Ideally, the two should be
> In general, I doubt there is an globally ideal build order.
There may be no single best solution, but I think there are ones
better than what we have now. As I wrote above, build order should be
consistent with dependency order.
> One possible solution would be to modify cmake [...]
I've suggested previously to the CMake community that CMake has enough
knowledge to ensure the build order in a Makefile matches the
dependency order of the libraries. I believe they are considering it
for CMake v 2.
> Until then, can I suggest Ctrl-C.
You may. However, that is a stop gap solution that makes no attempt at
understanding or solving the underlying problem.