[CMake] Questions about output_required_files

Christopher Gilling cgilling at iparadigms.com
Mon Apr 12 20:19:06 EDT 2010


I am new to CMake and am investigating making the switch from using handwritten makefiles to cmake.

I was wondering what the purpose of this method was. (i.e. what is a standard use case) 

The reason I ask is that I was hoping to be able to use it to get a complete list of sources needed for a given target (I know that its know supposed to take in targets, but I did modify the source so that it would recurse through targets) and was wondering why this functionality was not already part of it (i.e. is it only not there because no one has taken the time to add it, or are there good reasons why it should not take target)

The final thing I would like to be able to do is to take a targetName and compare the files required by the target to the list of modified files given by svn as part of our release scripts to ensure that there are no local modification to files of binaries that are being pushed to production.

Thanks in advance for any help


More information about the CMake mailing list