[CMake] Windows Version in HEX

Aaron_Wright at selinc.com Aaron_Wright at selinc.com
Thu Feb 18 17:34:00 EST 2010


I have a boost::asio library that wants _WIN32_WINNT or _WIN32_WINDOWS 
defined to the hex version of windows, like 0x0501 for windows xp. I can 
get 5.1 from CMAKE_SYSTEM_VERSION, but is there a hex version, or do I 
have to do some converting myself?

-------------------------------------------------------------
Aaron Wright
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100218/1692578c/attachment-0001.htm>


More information about the CMake mailing list