[CMake] Generated source file dependencies

Denis Scherbakov denis_scherbakov at yahoo.com
Wed May 13 07:17:23 EDT 2009



 
> Well at first glance it seemed to work, but in fact it is
> not : A is still built before B, and fails to build missing
> B.h.
> 
> Please note that this only occurs on visual studio.

Try to set B.h source file properties as GENERATED and include it into
A_SRCS. Maybe this help. Could you provide your CMakeLists.txt?


      


More information about the CMake mailing list