[CMake] WIN32 vs CMAKE_HOST_WIN32

Robert Dailey rcdailey.lists at gmail.com
Mon Mar 26 17:16:58 EDT 2012


Ever since I started using CMake, I always assumed that the WIN32 variable
represented what system CMake is currently running on. Looking more
carefully at the documentation, however, it seems this describes what
system CMake is generating for. Could someone explain this a bit better?
What would be an example of when WIN32 would be true but I'm not actually
on Windows?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120326/4289c0b0/attachment.htm>


More information about the CMake mailing list