[CMake] cmake for cygwin

Hendrik Sattler post at hendrik-sattler.de
Mon Oct 25 01:57:22 EDT 2010


Am Montag 25 Oktober 2010, 05:44:27 schrieb Yaakov (Cygwin/X):
> On Sun, 2010-10-24 at 10:12 +0200, Hendrik Sattler wrote:
> > And: believe it or not, WIN32 and CYGWIN are _not_ in strong contrast.
> > They've got so much in common, starting from the binary file format to
> > all low level stuff that cygwin is never going to change. Live with it.
> 
> The "low-level stuff" -- IOW the usage of PE binaries -- is about *all*
> Cygwin has in common with Win32.  Everything above that, including the

No. You have the same kernel under the skin and any software that has low-
level parts thus needs to know that it is running on Windows, be it through 
the cygwin layer or not. How does it do that without the WIN32 define?

> usage of *NIX/X11 vs Win32/GDI APIs is different, and that represents
> the bulk of IF(WIN32) usage.

And for the cases it doesn't? You don't throw away compatibility for "the bulk 
of ...".

HS


More information about the CMake mailing list