[CMake] configuring cmake with cygwin

Bill Hoffman bill.hoffman at kitware.com
Tue Oct 28 16:44:42 EDT 2008


THE HIGHHAT wrote:
> Any suggestions on how to get this combination to generate correct output:
> 
>  cmake 2.6.x
>  on win32
>  via cygwin
>  generating Unix Makefiles
>  for c++ code
>  compiling with Intel 10.x compilers
>  executed from  a cygwin shell
> 
> ?  I have run into a brick wall with tthis combination.  There are
> cmake packages for win32 native, win32 on cygwin (less documentated),
> a special make.exe (cygwin make 3.81 cannot handle windows paths),
> peculiarities with Intel icl.exe and command line flags, etc.


You should use the native windows binary for CMake from www.cmake.org 
with Unix Makefiles, and the modified make.  Set CXX and CC to the 
correct compilers before running cmake.

-Bill


More information about the CMake mailing list