[CMake] Generating source code packages with Windows line endings

Mike Jackson imikejackson at gmail.com
Mon Jun 23 14:26:36 EDT 2008


Could you list off the top of your head some of the tools that have  
given you trouble? I have never run into the line ending issues yet  
but I may in the future. I would be good to have an idea what tools  
will NOT handle unix line endings.

Thanks
-- 
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services


On Jun 23, 2008, at 2:11 PM, Bill Hoffman wrote:

> Alan W. Irwin wrote:
>> On 2008-06-23 12:45-0400 David Cole wrote:
>>> The Windows source package is built on Windows with Windows tools.
>>> Similarly for the Unix source package.
>> That procedure obviously works for the CMake release manager, but  
>> in my case
>> it won't work since I don't have access to Windows.  From your  
>> response it
>> also sounds like line endings are not something CPack handles at  
>> the moment
>> so if I decide to make a Windows line-ending source release I will  
>> do it
>> with the available Unix tools.
>> The remaining questions concern whether it is the usual thing for  
>> Windows
>> users to be able to figure out line endings on their own? Do the  
>> CMake
>> developers consider their separate source release with Windows  
>> line-endings
>> a minor courtesy, major courtesy, or a necessity for their Windows  
>> users? Or
>> in retrospect is it just confusing to users to have source package  
>> versions
>> with different line endings?
>
> There are some windows tools that do not like Windows line- 
> endings.  It is better these days, but you still run into them (as  
> you just found out).   I don't think this is something that cpack  
> will ever do by itself.
>
> -Bill
>
> -- 
> Bill Hoffman
> Kitware, Inc.
> 28 Corporate Drive
> Clifton Park, NY 12065
> bill.hoffman at kitware.com
> http://www.kitware.com
> 518-371-3971 (phone and fax)
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list