Installing data files

Alexander Neundorf neundorf at kde.org
Sun May 30 14:00:17 CEST 2010


On Saturday 29 May 2010, Albert Astals Cid wrote:
> A Dijous, 27 de maig de 2010, Allen Winter va escriure:
...
> > I don't think GLOBing does anything to create proper dependencies.
> > So you need to be a bit careful using it.
> >
> > For just installing data files, I think it seems pretty safe though.
>
> Though unless you touch the cmake files so that cmake is rerun the new
> files won't get installed as the globing is done on cmake time not on
> install time so new files after cmake run are not detected (at least that
> is what happened some time ago, no idea if was fixed)

As you say, the globbing happens at cmake time, and adding or deleting files 
from a directory doesn't cause cmake to rerun, so cmake doesn't pick up those 
files automatically.
That's the documented behaviour, there's nothing which needs to be "fixed" 
here.

Alex


More information about the Kde-buildsystem mailing list