[CMake] Generated source file dependencies

Denis Scherbakov denis_scherbakov at yahoo.com
Wed May 13 04:46:25 EDT 2009



> 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


      


More information about the CMake mailing list