On Sunday 26 March 2006 17:24, Matt Rogers wrote:
> On Sunday 26 March 2006 08:52, Alexander Neundorf wrote:
> > SVN commit 522727 by neundorf:
> >
> > don't remove files when making clean which have been created via
> > FILE(WRITE ...) or CONFIGURE_FILE()
> >
> > Alex
>
> shouldn't they be removed and then regenerated on 'make' instead, or is
> that not the way cmake works in this case?

FILE(WRITE ...) and CONFIGURE_FILE(...) are executed during cmake time, not 
during build time. After a make clean there is usually no reason to run cmake 
again since the cmake files haven't changed. So the command are not executed 
again.

They would be recreated if they were generated via a ADD_CUSTOM_COMMAND(), 
which is currently not the case.

Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to