[CMake] Dynamic dependencies

reckbo reckbo at bwh.harvard.edu
Wed Dec 18 11:57:00 EST 2013


Hi,

As far as I understand, Ninja supports dynamic dependencies, e.g. target
file 'f' depends
on 'list.txt' and all the files listed therein.  And cmake can compile
to Ninja.

My question is, can cmake express this type of dependency?  If
'list.txt' changes, I want
only to run `ninja` to update target 'f'.  I realize you can simulate
this effect by re-running
cmake, but if Ninja has the capability I want to avoid the extra step.

Thanks for any help,
Ryan



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


More information about the CMake mailing list