Sorry - shift key stuck. WIN#@ should have read, WIN32
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Convey Christian J NPRI > Sent: Tuesday, January 29, 2008 11:15 AM > To: [email protected] > Subject: [CMake] Does CMake set preprocessor variables automatically? > > 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 > _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
