[Cmake] dependencies

Franck Bettinger bettingf at cs . man . ac . uk
Mon, 12 Nov 2001 16:31:35 +0000


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