[Cmake] dependencies

Franck Bettinger bettingf at cs.man.ac.uk
Tue Nov 13 10:51:27 EST 2001


Hi Brad,

On Monday 12 November 2001 20:52, Brad King wrote:
> cmSourceFile file;
> // ... setup source file ...
> // Add dependency hint to missing file.
> file.GetDepends().push_back(pathToDrawingDotH);

The last line doesn't change anything in either the generated Makefile or the 
generated cmake.depends. Do I need to call another function to be able to see 
the changes ? Actually, I just call the function AddSource :
m_Makefile->AddSource(file,m_SourceList.c_str());

Franck



More information about the CMake mailing list