[CMake] automatic cmake run when specific files change

Hendrik Sattler post at hendrik-sattler.de
Wed Oct 14 14:02:52 EDT 2009


Am Mittwoch 14 Oktober 2009 17:58:07 schrieb James Bigler:
> Yes.  What you need to do is add the DocBook/XML files to the
> dependency list of the add_custom_command that is used to generate the
> output file.  When those files change, then the add_custom_command
> will be run again.  See the documentation for add_custom_command.

No. That's not what I meant and it also doesn't trigger a cmake rerun but only 
re-processes the xml file again.

HS


More information about the CMake mailing list