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
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake