[Cmake] dependencies
Bill Hoffman
bill . hoffman at kitware . com
Mon, 12 Nov 2001 13:21:52 -0400
The ADD_DEPENDENCIES command is only used to add dependencies between one executable and another. Regular build dependencies are handled automatically.
If drawingimpl.cxx includes drawing.h the depend should be in cmake.depends.
-Bill
At 04:31 PM 11/12/2001 +0000, Franck Bettinger wrote:
>Hi,
>
>I tried to add a dependency that was not automatically generated by cmake in
>a CMakeList.txt using the command:
>
>ADD_DEPENDENCIES(drawingimpl.cxx
>${allvxl_SOURCE_DIR}/obj/programs/drawing/drawing.h)
>
>Apparently it doesn't change anything in the generated Makefile (at least on
>linux). Anyone has any idea why it does this, or how can I add a user defined
>dependency ?
>
>Cheers,
>Franck
>_______________________________________________
>Cmake mailing list
>Cmake at public . kitware . com
>http://public . kitware . com/mailman/listinfo/cmake