if (UNIX)

Alexander Neundorf neundorf at kde.org
Wed Feb 15 18:53:43 CET 2006


On Wednesday 15 February 2006 14:16, William A. Hoffman wrote:
> At 07:33 AM 2/15/2006, Peter Kümmel wrote:
> >Laurent Montel wrote:
> >>> +if (UNIX)
> >>>  add_subdirectory( http )
> >>> +endif (UNIX)
> >>
> >> Perhaps we can use http under macosX
> >
> >What's the best way to exclude project from the build
> >process on windows?
> >
> >if(UNIX)
> >if(NOT WIN32)
> >
> >Isn't Mac OSX a also a UNIX?
> >(Darwin is more a Unix than Linux.)
>
> if(UNIX)  will get you: cygwin, darwin, linux, and other unix
> (sun,ibm,hp,etc)
>
> if(NOT WIN32) will get you darwin, linux, and other unix (sun, ibm, hp,
> ect)
>
> The difference is cygwin.  Will http build on cygwin?

Now that there is a native Qt on Windows, I think we don#t have to support 
cygwin.

So, maybe "if (UNIX)" is better because slightly shorter ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list