Tyler,

Something like:

if (OSX)

if (Win32)

if(Linux)

http://www.cmake.org/Wiki/CMake_Useful_Variables/Logging_Useful_Variables

Btw, we're switching to using an extra variable WINDOWS that we define
as having the same value as WIN32. We got a lot of questions from
developers wondering if WIN32 meant just 32-bit Windows. (We have a
different way of determining whether a platform is 32-bit windows or
64-bit windows).

Thanks Tyler, is this avail in 2.6 (WINDOWS rather than using WIN32) or in a future release?

-Jason

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to