I am trying to make a custom language option for building cmake, but my compilation does not correctly update when I do a touch on a header file.
In older versions of cmake I remember using (with c++ compilers) something along the lines of
CMAKE_DEPFILE_FLAGS_<LANGUAGE> "-MD -MT <OBJECT> -MF <DEPFILE>"
But now it looks like dependencies are aggregated into a depend.make at configuration? Can someone point me in the right direction?