[CMake] inconsistent line endings in Visual Studio 2010

Andreas Pakulat apaku at gmx.de
Thu Feb 17 09:58:54 EST 2011


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.


More information about the CMake mailing list