On 17.02.11 15:23:32, Dominik Szczerba wrote: > Many thanks for the hint, but I thought printf() would already > generate correct endings, no? > The file is being generated in the build directory on a target machine. > Or is it cmake that does something with the intercepted output?
If you're talking about the C function printf() then no, that one simply prints the bytes you give to it. So if you give it only a \n it'll only print that. There's no automatic conversion to \r\n in the C library. Andreas -- Your aim is high and to the right. _______________________________________________ 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
