[CMake] cmake for cygwin

Marco Atzeri marco_atzeri at yahoo.it
Fri Oct 22 05:07:06 EDT 2010


Dear developers,
the current cmake package for cygwin is unsuitable to build
cmake package as it defines WIN32.
Cygwin programs are unix-like ones while WIN32 is needed only
for pure windows programs. 
Defining WIN32 breaks building normal unix programs.

To build the last qhull package
http://cygwin.com/ml/cygwin-announce/2010-09/msg00015.html
I was obliged to use the cmake Ports version.

http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/ports;a=tree;f=devel/cmake;hb=HEAD

Using such package I was also able to build VTK, with very minor
change of the source.
http://www.vtk.org/pipermail/vtk-developers/2010-September/008590.html


As the first target of a cygwin package is to allow to
build other cygwin packages, the current package 
does NOT satisfy this requirement.

Regards
Marco




      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CYGWIN.cmake
Type: application/octet-stream
Size: 636 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101022/3b7d3f31/attachment.obj>


More information about the CMake mailing list