[CMake] execute_process() and reconfiguration

Steve Mokris smokris at softpixel.com
Thu Jun 27 15:48:59 EDT 2019


> Is there a way for me to tell CMake what source files my command relies on so it knows when it needs to do a reconfiguration?

CMAKE_CONFIGURE_DEPENDS can do that.

https://cmake.org/cmake/help/latest/prop_dir/CMAKE_CONFIGURE_DEPENDS.html



More information about the CMake mailing list