[Cmake] Sharing source directories between Unix and Windows

Bill Hoffman bill.hoffman at kitware.com
Tue Oct 2 09:59:43 EDT 2001


All cmake is doing is this:

 std::ifstream fin(path);
...
 if(fin.getline(inbuffer, BUFFER_SIZE ) )


I guess the ms getline is confused by the unix end of line...


At 09:31 PM 10/1/2001 -0400, Amitha Perera wrote:
>Is it possible to get CMake under Windows to understand Unix-style
>end-of-line characters? I want to use my Unix-based source tree under
>Windows for multi-platform testing, but CMake hangs when parsing the
>files.
>
>Or is there some other way to conveniently share the sources between
>Unix and Windows?
>
>Thanks,
>Amitha.
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake 




More information about the CMake mailing list