> The problem is that when using visual studio, A might be > built before B, and fails to build because B.h has not yet > be generated. Did you try ADD_DEPENDENCIES(A B) ? Denis