[Cmake] dependencies

Franck Bettinger bettingf at cs . man . ac . uk
Tue, 13 Nov 2001 15:51:27 +0000


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