[CMake] Dependency on CONFIGURE_FILE output

Patrick Noffke Patrick.Noffke at adpro.com.au
Mon Jul 10 23:15:16 EDT 2006


How do I create a dependency on the output of a CONFIGURE_FILE operation?  I tried adding the output file as a dependency to a custom command, but if I remove only the generated output file after a successful build, then run nmake again, I get an error "don't know how to make <output file name>".  If I do a clean build, then the file is generated.

Thanks,
Patrick


More information about the CMake mailing list