[CMake] Correct way to make an arbitrary file trigger a reconfigure...

Clifford Yapp cliffyapp at gmail.com
Wed Oct 16 01:28:19 EDT 2013


On Tue, Oct 15, 2013 at 10:16 AM, Malfettone, Kris
<Kris.Malfettone at sig.com> wrote:

> As a side note, it might be nice to add a function to cmake along the lines
> of add_cmake_cache_dependency(…) or some better name that just adds the
> dependency without having to configure a dummy file.

+1 nice idea

I too have had the issue of wanting to trigger a cmake re-configure
based on the timestamp of a file that is not (normally) part of the
configure process, and ended up using similar work-arounds.

Cheers,
CY


More information about the CMake mailing list