<font size=2 face="sans-serif">Thanks Michael. I guess I didn't understand
what it was asking.</font>
<br>
<br><font size=2 face="sans-serif">-------------------------------------------------------------<br>
Aaron Wright</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Michael Wild <themiwi@gmail.com></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Aaron_Wright@selinc.com</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">cmake@cmake.org</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">02/18/2010 03:03 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [CMake] Windows Version in HEX</font></table>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2><br>
On 18. Feb, 2010, at 23:34 , Aaron_Wright@selinc.com wrote:<br>
<br>
> I have a boost::asio library that wants _WIN32_WINNT or _WIN32_WINDOWS
<br>
> defined to the hex version of windows, like 0x0501 for windows xp.
I can <br>
> get 5.1 from CMAKE_SYSTEM_VERSION, but is there a hex version, or
do I <br>
> have to do some converting myself?<br>
> <br>
> -------------------------------------------------------------<br>
> Aaron Wright<br>
<br>
<br>
That macro should be set to the minimum Windows version your software is
going to run on, this is not necessarily the same number as CMAKE_SYSTEM_VERSION.
I think that's probably something you should/can hard-code, since it indicates
the minimum version of Windows you require API-wise.<br>
<br>
HTH<br>
<br>
Michael<br>
<br>
</font></tt>
<br>