On 05/06/2015 01:29 PM, Ben Boeckel wrote:
> file(GENERATE) does not document its newline behavior (nor does it have
> options for setting it at all). Does it write in text or binary mode?

>From the source it looks like it opens without the ios::binary flag.
One could consider adding a similar set of newline options to
file(GENERATE) that configure_file already has.

-Brad

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to