[CMake] add_custom_command: regenerate all on modifcation?
Dave Milter
davemilter at gmail.com
Tue Jun 3 16:20:02 EDT 2008
On 6/3/08, Brad King <brad.king at kitware.com> wrote:
> Dave Milter wrote:
> > On 6/3/08, Brad King <brad.king at kitware.com> wrote:
>
> >> If you can please try CMake HEAD from CVS to make sure it solves your
> >> problem. We'll include the fix in a 2.6 patch release.
> >
> > I tried, not sure how to see global repository history, cvs log works
> > not how svn log works, but I see commit:
>
> [snip]
>
> > ENH: Remove SKIP_RULE_DEPENDS option from add_custom_command()
>
>
> It was actually the commit before this one that had the changes. This
> was just a cleanup commit after the rule hash mechanism was introduced.
>
>
> > and it is NOT work, at least with example which I sent with one of
> > previous emails.
>
>
> Oops, the rule hash was including the commands to display progress,
> which of course change when a file is added or removed. I've committed
> a fix to include only the user-specified commands in the hash
> computation. Your example now works.
>
> Please try again on your real project.
>
Thanks a lot, it looks like it work in real project, removing and
adding files do not cause regeneration.
More information about the CMake
mailing list