How to make a Fortran file dependent on #inclde files
I have a Fortran project with numerous #include files. When a #include file is changed, CMake does not detect the change, and does not rebuild the objects using this include file. In order to reflect the change, currently I ‘make clean; make’, which rebuilds the entire project. Is there a way to tell CMake that a Fortran file depends from its #include files?