Does CMake automatically set preprocessor variables that indicate the operating 
system?

I'd like to write some code similar to this:

#ifdef UNIX
   ...
#elif WIN#@
   ...
#endif

But if CMake is already setting some of those preprocessor variables for me, 
it's not clear what variables it's setting.

Thanks,
Christian

Christian Convey
Scientist, Naval Undersea Warfare Centers
Newport, RI

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to