if (UNIX)

William A. Hoffman billlist at nycap.rr.com
Wed Feb 15 14:16:57 CET 2006


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?

-Bill



More information about the Kde-buildsystem mailing list