> 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