According to the 4th version of Mastering CMake, the output_required_files command should take the source file and create a list of all the other source files on which it depends. While I tried it with the Fortran source files and it didn’t work, it basically creates an empty file, which supposedly should contain a list of dependencies of the source file. I am trying to do this on Linux.
I found this post on the Internet that covers the same problem and there is apparently not a single solution from anyone:
http://www.cmake.org/pipermail/cmake/2009-September/031904.html
Does the team really work or something that the author of the book still plans to implement?
I would appreciate it if Bill Hoffman or Ken Martin could comment on this and perhaps give us a working example of how to do this.
Thank you for your help.
source
share