[CMake] file(WRITE) versus configure_file

James Bigler jamesbigler at gmail.com
Thu Jun 4 16:51:27 EDT 2009


Back in the day before file(WRITE) there was write_file().  write_file() had
the problem that you couldn't use the file as input to CMake, so you had to
use configure_file.

Does file(WRITE) have this same restriction?

I currently use a blank template file for configure_file for one of my
projects, and it would be nice to do away with this and just write a blank
file when I need to.

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090604/c3a46fd2/attachment.htm>


More information about the CMake mailing list